tripleo-config: use become by default

The config files can be written in /etc (most of the times), so we need
sudo to write the files without permission error.

Change-Id: I68911dcec1d92def25e3b48fb1319564eda292f0
(cherry picked from commit b9b23c5600)
This commit is contained in:
Emilien Macchi 2019-12-05 10:37:33 -05:00
parent 20ecccd193
commit 8c95beabda
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@
- tripleo_config_dest is undefined
- name: "Generate {{ tripleo_config_dest }} config"
become: true
config_template:
src: "{{ tripleo_config_src }}"
dest: "{{ tripleo_config_dest }}"