Merge "Make roles safe to include statically"
This commit is contained in:
commit
2ebb2d6a7f
|
@ -53,9 +53,7 @@
|
|||
delegate_to: "{{ virthost }}"
|
||||
authorized_key:
|
||||
user: "{{ non_root_user }}"
|
||||
key: "{{ item }}"
|
||||
with_file:
|
||||
- "{{ undercloud_key }}.pub"
|
||||
key: "{{ lookup('file', undercloud_key|quote + '.pub')|default('') }}"
|
||||
become: true
|
||||
|
||||
- name: Grant sudo privileges to non-root user on virthost/undercloud
|
||||
|
|
Loading…
Reference in New Issue