Always prevent become for local tasks

This commit is contained in:
Manuel Gutierrez 2020-06-16 17:22:23 +02:00
parent a3ef437df4
commit 76f2442cbe
No known key found for this signature in database
GPG Key ID: CEB8789DAED15AAD

View File

@ -102,6 +102,7 @@
state: directory
mode: 0700
delegate_to: "127.0.0.1"
become: no
when:
- node_certs_generator
@ -111,6 +112,7 @@
state: directory
mode: 0700
delegate_to: "127.0.0.1"
become: no
when:
- node_certs_generator
@ -139,6 +141,7 @@
src: "{{ master_certs_path }}/certs.zip"
dest: "{{ master_certs_path }}/"
delegate_to: "127.0.0.1"
become: no
when:
- node_certs_generator
tags: