Add become: true to the container json file modules
Adding the become: true when calling the modules which manage files in /var/lib/tripleo-config, they need root access. Change-Id: Ic3a5f7d079993ca31176df5e460640938495bb7b
This commit is contained in:
parent
fd73be25a2
commit
4395e4a3ce
|
@ -237,6 +237,7 @@
|
|||
- container_startup_configs
|
||||
|
||||
- name: Generate startup configs files per step and per container
|
||||
become: true
|
||||
container_startup_config:
|
||||
config_base_dir: /var/lib/tripleo-config/container-startup-config
|
||||
config_data: "{{ lookup('file', (tripleo_role_name + '/docker_config.yaml'), errors='ignore') | default({}, True) | from_yaml }}"
|
||||
|
@ -244,6 +245,7 @@
|
|||
- container_startup_configs
|
||||
|
||||
- name: Ensure config hashes are up-to-date for container startup configs
|
||||
become: true
|
||||
container_puppet_config:
|
||||
update_config_hash_only: true
|
||||
tags:
|
||||
|
|
Loading…
Reference in New Issue