Skip to content

Commit

Permalink
Merge pull request #1620 from 14rcole/cloud_config_used_error
Browse files Browse the repository at this point in the history
Merged by Jenkins
  • Loading branch information
cp-bot committed Feb 19, 2020
2 parents 620ba63 + de4e48d commit bed2b98
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@

- name: "check cloud_config is used or not"
set_fact:
cloud_config_used: false
when: cloud_config['users'] == [] and cloud_config['run_commands'] == []
cloud_config_used: "{{ true if (cloud_config['users'] }} == [] and cloud_config['run_commands'] == []) else false }}"

- name: "set empty local_image_path"
set_fact:
Expand Down

0 comments on commit bed2b98

Please sign in to comment.