diff --git a/tasks/users_default.yml b/tasks/users_default.yml index ff78344..0ecd5b2 100644 --- a/tasks/users_default.yml +++ b/tasks/users_default.yml @@ -4,7 +4,7 @@ group: name: "{{ item }}" state: present - loop: "{{ users_groups }}" + loop: "{{ users_default_groups }}" - name: Create common users user: @@ -13,7 +13,7 @@ append: yes password: "{{ item.password | default(omit) | password_hash('sha512',65534 | random(seed=inventory_hostname) | string) }}" shell: "{{ item.shell | default('/bin/bash') }}" - loop: "{{ users_users }}" + loop: "{{ users_default_users }}" loop_control: label: "{{ item.name }}" become: True diff --git a/tasks/users_univention.yml b/tasks/users_univention.yml index b88535f..8bbacc3 100644 --- a/tasks/users_univention.yml +++ b/tasks/users_univention.yml @@ -7,7 +7,7 @@ name: "{{ item }}" system: 'yes' state: present - loop: "{{ users_groups }}" + loop: "{{ users_default_groups }}" - name: Create common users user: @@ -17,7 +17,7 @@ password: "{{ item.password | default(omit) | password_hash('sha512',65534 | random(seed=inventory_hostname) | string) }}" shell: "{{ item.shell | default('/bin/bash') }}" system: 'yes' - loop: "{{ users_users }}" + loop: "{{ users_default_users }}" loop_control: label: "{{ item.name }}" become: True