Add become for Octavia configuration tasks
This is required to support execution as a non-root user. Change-Id: Idd2deec2918e5eb7743e60112a91cb31edf5aad3 Close-bug: #1809527
This commit is contained in:
parent
17f9ff5a10
commit
5c771df7d1
@ -104,6 +104,7 @@
|
||||
copy:
|
||||
src: "{{ node_custom_config }}/octavia/{{ item }}"
|
||||
dest: "{{ node_config_directory }}/octavia-housekeeping/{{ item }}"
|
||||
become: true
|
||||
register: octavia_housekeeping_certificate
|
||||
when:
|
||||
- inventory_hostname in groups[service.group]
|
||||
@ -121,6 +122,7 @@
|
||||
copy:
|
||||
src: "{{ node_custom_config }}/octavia/{{ item }}"
|
||||
dest: "{{ node_config_directory }}/octavia-health-manager/{{ item }}"
|
||||
become: true
|
||||
register: octavia_health_manager_certificate
|
||||
when:
|
||||
- inventory_hostname in groups[service.group]
|
||||
|
Loading…
Reference in New Issue
Block a user