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:
|
copy:
|
||||||
src: "{{ node_custom_config }}/octavia/{{ item }}"
|
src: "{{ node_custom_config }}/octavia/{{ item }}"
|
||||||
dest: "{{ node_config_directory }}/octavia-housekeeping/{{ item }}"
|
dest: "{{ node_config_directory }}/octavia-housekeeping/{{ item }}"
|
||||||
|
become: true
|
||||||
register: octavia_housekeeping_certificate
|
register: octavia_housekeeping_certificate
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups[service.group]
|
- inventory_hostname in groups[service.group]
|
||||||
@ -121,6 +122,7 @@
|
|||||||
copy:
|
copy:
|
||||||
src: "{{ node_custom_config }}/octavia/{{ item }}"
|
src: "{{ node_custom_config }}/octavia/{{ item }}"
|
||||||
dest: "{{ node_config_directory }}/octavia-health-manager/{{ item }}"
|
dest: "{{ node_config_directory }}/octavia-health-manager/{{ item }}"
|
||||||
|
become: true
|
||||||
register: octavia_health_manager_certificate
|
register: octavia_health_manager_certificate
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups[service.group]
|
- inventory_hostname in groups[service.group]
|
||||||
|
Loading…
Reference in New Issue
Block a user