Bugfixes
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
- name: "Add user {{ os_user.name }}"
|
- name: "Add users"
|
||||||
user:
|
user:
|
||||||
name: "{{ os_user.name }}"
|
name: "{{ os_user.name }}"
|
||||||
comment: "{{ os_user.comment }}"
|
comment: "{{ os_user.comment }}"
|
||||||
uid: "{{ os_user.uid }}"
|
uid: "{{ os_user.uid }}"
|
||||||
shell: "{{ os_user.shell }}"
|
shell: "{{ os_user.shell }}"
|
||||||
groups: "{{ os_user.groups }}"
|
groups: "{{ os_user.groups }}"
|
||||||
state: "{{ os_user.state }}"
|
state: "{{ os_user.state | default('present')}}"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Copy local ssh key to authorized keys file
|
- name: Copy local ssh key to authorized keys file
|
||||||
|
|||||||
Reference in New Issue
Block a user