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