diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-04-21 13:30:53 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2017-05-01 11:03:49 -0400 |
commit | b6190a17b578de72147e481b0eea00aca59adc2f (patch) | |
tree | 837fc471c415f4fb92bbba7307daa7e0fba2f6e3 /playbooks/adhoc/create_pv | |
parent | a3f5c0ce84f32ada05d718d3e6e5a505ec0f9221 (diff) | |
download | openshift-b6190a17b578de72147e481b0eea00aca59adc2f.tar.gz openshift-b6190a17b578de72147e481b0eea00aca59adc2f.tar.bz2 openshift-b6190a17b578de72147e481b0eea00aca59adc2f.tar.xz openshift-b6190a17b578de72147e481b0eea00aca59adc2f.zip |
Remove jinja template delimeters from when conditions
In ansible 2.3 "[WARNING]: when statements should not include jinja2
templating delimiters such as {{ }} or {% %}. Found: {{
g_glusterfs_hosts is not defined }}"
Diffstat (limited to 'playbooks/adhoc/create_pv')
-rw-r--r-- | playbooks/adhoc/create_pv/create_pv.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/adhoc/create_pv/create_pv.yaml b/playbooks/adhoc/create_pv/create_pv.yaml index 81c1ee653..16bfd85e8 100644 --- a/playbooks/adhoc/create_pv/create_pv.yaml +++ b/playbooks/adhoc/create_pv/create_pv.yaml @@ -20,7 +20,7 @@ pre_tasks: - fail: msg: "This playbook requires {{item}} to be set." - when: "{{ item }} is not defined or {{ item }} == ''" + when: "item is not defined or item == ''" with_items: - cli_volume_size - cli_device_name |