#azure (2020-06)
Archive: https://archive.sweetops.com/azure/
2020-06-18
![Pierre-Yves avatar](https://secure.gravatar.com/avatar/713064f85b426dae41765cd5dfc915f3.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0011-72.png)
Pierre-Yves
is any of you use azure “self hosted agent” ? it is limited to one agent by Organisation ( https://dev.azure.com/<org name> ) it seems I can’t add more than one. ( I have an organization with terraform project , and an other one with code to be deploy through ansible self hosted agent ) do you know if several agent can run on one server ?
![Pierre-Yves avatar](https://secure.gravatar.com/avatar/713064f85b426dae41765cd5dfc915f3.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0011-72.png)
Pierre-Yves
answering to myself: it’s one per organization and you should install each in a different folder. then each can run as a systemd service ;)
![Pierre-Yves avatar](https://secure.gravatar.com/avatar/713064f85b426dae41765cd5dfc915f3.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0011-72.png)
Pierre-Yves
it seems I can get the root folder name from path.root and count and cut to get only the last element which is the repo name
slice(split("/", path.root), length(split("/", path.root))-1, length(split("/", path.root)))