fix variable names
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
c0e9801b64
commit
be00f66346
|
@ -4,7 +4,7 @@
|
||||||
group:
|
group:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
loop: "{{ users_groups }}"
|
loop: "{{ users_default_groups }}"
|
||||||
|
|
||||||
- name: Create common users
|
- name: Create common users
|
||||||
user:
|
user:
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
append: yes
|
append: yes
|
||||||
password: "{{ item.password | default(omit) | password_hash('sha512',65534 | random(seed=inventory_hostname) | string) }}"
|
password: "{{ item.password | default(omit) | password_hash('sha512',65534 | random(seed=inventory_hostname) | string) }}"
|
||||||
shell: "{{ item.shell | default('/bin/bash') }}"
|
shell: "{{ item.shell | default('/bin/bash') }}"
|
||||||
loop: "{{ users_users }}"
|
loop: "{{ users_default_users }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.name }}"
|
label: "{{ item.name }}"
|
||||||
become: True
|
become: True
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
system: 'yes'
|
system: 'yes'
|
||||||
state: present
|
state: present
|
||||||
loop: "{{ users_groups }}"
|
loop: "{{ users_default_groups }}"
|
||||||
|
|
||||||
- name: Create common users
|
- name: Create common users
|
||||||
user:
|
user:
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
password: "{{ item.password | default(omit) | password_hash('sha512',65534 | random(seed=inventory_hostname) | string) }}"
|
password: "{{ item.password | default(omit) | password_hash('sha512',65534 | random(seed=inventory_hostname) | string) }}"
|
||||||
shell: "{{ item.shell | default('/bin/bash') }}"
|
shell: "{{ item.shell | default('/bin/bash') }}"
|
||||||
system: 'yes'
|
system: 'yes'
|
||||||
loop: "{{ users_users }}"
|
loop: "{{ users_default_users }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.name }}"
|
label: "{{ item.name }}"
|
||||||
become: True
|
become: True
|
||||||
|
|
Loading…
Reference in New Issue