refactored user creation tasks
parent
e72efe774f
commit
59ead99f51
|
@ -6,6 +6,10 @@
|
|||
- basic
|
||||
- users
|
||||
- sshd
|
||||
vars:
|
||||
users:
|
||||
- rilla
|
||||
- ansible
|
||||
post_tasks:
|
||||
- name: lbu commit
|
||||
lbu:
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
- name: setup user 'rilla'
|
||||
include_tasks: rilla.yml
|
||||
|
||||
- name: setup user 'ansible'
|
||||
include_tasks: ansible.yml
|
||||
|
||||
- name: setup user 'woodpecker'
|
||||
include_tasks: woodpecker.yml
|
||||
- name: create users
|
||||
include_tasks: "{{ username }}.yml"
|
||||
loop: "{{ users }}"
|
||||
loop_control:
|
||||
loop_var: username
|
||||
|
|
Loading…
Reference in New Issue