mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-20 15:27:56 -02:30
Fix ansible syntax to avoid ansible warnings (one more) (#3536)
* warning on meta flush_handlers * avoid rm * avoid "Module remote_tmp /root/.ansible/tmp did not exist and was created with a mode of 0700, this may cause issues when running as another user. To avoid this, create the remote_tmp dir with the correct permissions manually" warning on subsequent tasks using blockinfile * is match
This commit is contained in:
committed by
k8s-ci-robot
parent
52b5309385
commit
87193fd270
@@ -37,7 +37,7 @@
|
||||
with_items: "{{ (etc_hosts_content['content'] | b64decode).split('\n') }}"
|
||||
when:
|
||||
- etc_hosts_content.content is defined
|
||||
- (item|match('^::1 .*') or item|match('^127.0.0.1 .*'))
|
||||
- (item is match('^::1 .*') or item is match('^127.0.0.1 .*'))
|
||||
|
||||
- name: Hosts | Update target hosts file entries dict with required entries
|
||||
set_fact:
|
||||
|
||||
Reference in New Issue
Block a user