Skip to content

Commit

Permalink
tasks/Linux: add user primary group before adding a user
Browse files Browse the repository at this point in the history
  • Loading branch information
bitlord committed Apr 26, 2022
1 parent d15e914 commit eb94444
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tasks/Linux.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
- name: Add an agent user group
group:
name: "{{ az_devops_agent_group }}"
state: present
become: true

- name: Add an agent user
user:
name: "{{ az_devops_agent_user }}"
Expand Down

0 comments on commit eb94444

Please sign in to comment.