gsoft-inc / ansible-role-azure-devops-agent

An Ansible role that installs and configures a Linux machine to be used as an Azure DevOps build or deployment agent.
60 stars 72 forks source link

windows doesn't support become yes #50

Closed mohamed3laa33 closed 2 years ago

andrew-sumner commented 2 years ago

I was able to work around that using: ansible_become_method: runas ansible_become_user: "{{ service_accout_user }}" ansible_become_password: "{{ service_accout_password }}"

However, as I would like to run the agent service under a service account, I raised https://github.com/gsoft-inc/ansible-role-azure-devops-agent/pull/58 to optionally disable this step entirely.