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:
Erwan Miran
2018-10-17 21:27:11 +02:00
committed by k8s-ci-robot
parent 52b5309385
commit 87193fd270
7 changed files with 23 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
assert:
that:
- "calico_pool_name is defined"
- "calico_pool_name | match('^[a-zA-Z0-9-_\\\\.]{2,63}$')"
- "calico_pool_name is match('^[a-zA-Z0-9-_\\\\.]{2,63}$')"
- "ipip_mode is defined"
- "ipip_mode in ['Always', 'CrossSubnet', 'Never']"
msg: "Check variable definitions seems something is wrong"