Browse Source

disable become for local actions

Mathias Merscher 7 years ago
parent
commit
5f74dc3222

+ 1 - 0
roles/openshift_logging/tasks/generate_certs.yaml

@@ -21,6 +21,7 @@
     --key={{generated_certs_dir}}/ca.key --cert={{generated_certs_dir}}/ca.crt
     --serial={{generated_certs_dir}}/ca.serial.txt --name=logging-signer-test
   check_mode: no
+  become: false
   when:
     - not ca_key_file.stat.exists
     - not ca_cert_file.stat.exists

+ 1 - 0
roles/openshift_logging/tasks/main.yaml

@@ -20,6 +20,7 @@
   changed_when: False
   check_mode: no
   tags: logging_init
+  become: false
 
 - debug: msg="Created temp dir {{mktemp.stdout}}"