Closed mohamed3laa33 closed 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.
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.