Fix up warnings and deprecations (#1848)

This commit is contained in:
Matthew Mosesohn
2017-10-20 08:25:57 +01:00
committed by GitHub
parent 514359e556
commit 0b4fcc83bd
4 changed files with 6 additions and 10 deletions

View File

@@ -26,7 +26,7 @@
- name: "Check_certs | Set 'gen_certs' to true"
set_fact:
gen_certs: true
when: "not '{{ item }}' in etcdcert_master.files|map(attribute='path') | list"
when: not item in etcdcert_master.files|map(attribute='path') | list
run_once: true
with_items: >-
['{{etcd_cert_dir}}/ca.pem',