Skip to content

Commit

Permalink
chore: lintings
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemental committed Nov 13, 2024
1 parent e2ad473 commit 03cc62d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roles/usermgmt/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
- name: Manage groups
loop: "{{ usermgmt_groups }}"
loop_control: { loop_var: group }
loop_control: {loop_var: group}
ansible.builtin.group:
name: "{{ group.name }}"
gid: "{{ group.gid | default(omit) }}"
state: "{{ group.state | default(omit) }}"

- name: Manage users
loop: "{{ usermgmt_users }}"
loop_control: { loop_var: user }
loop_control: {loop_var: user}
ansible.builtin.user:
name: "{{ user.name }}"
password: "{{ user.password | default(omit) }}"
Expand All @@ -21,7 +21,7 @@

- name: Manage user authorized keys
loop: "{{ usermgmt_users }}"
loop_control: { loop_var: user }
loop_control: {loop_var: user}
ansible.posix.authorized_key:
user: "{{ user.name }}"
key: "{{ user.key }}"

0 comments on commit 03cc62d

Please sign in to comment.