Always quote the filesystem permissions
Change-Id: I6427c5387cd6c951b4da4848c6012f426b36c817
This commit is contained in:
parent
01df38d8c8
commit
e3d4247b80
@ -30,7 +30,7 @@
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0700
|
||||
mode: "0700"
|
||||
|
||||
- name: Create ssh key pair for root
|
||||
user:
|
||||
@ -87,7 +87,7 @@
|
||||
state: directory
|
||||
owner: "{{ ansible_user_id }}"
|
||||
group: "{{ ansible_user_gid }}"
|
||||
mode: 0700
|
||||
mode: "0700"
|
||||
when: ansible_user_id != 'root'
|
||||
|
||||
- name: Ensure user has the known private key
|
||||
|
Loading…
Reference in New Issue
Block a user