Merge "Make roles safe to include statically"

This commit is contained in:
Zuul 2017-11-20 14:00:43 +00:00 committed by Gerrit Code Review
commit 2ebb2d6a7f
1 changed files with 1 additions and 3 deletions

View File

@ -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