Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in which 'cloud_config_used' is undefined #1620

Merged
merged 1 commit into from
Feb 19, 2020

Conversation

14rcole
Copy link
Collaborator

@14rcole 14rcole commented Feb 19, 2020

No description provided.

Signed-off-by: Ryan Cole <rycole@redhat.com>
@14rcole
Copy link
Collaborator Author

14rcole commented Feb 19, 2020

Fixes #1616

Copy link
Collaborator

@samvarankashyap samvarankashyap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@14rcole 14rcole added the bug label Feb 19, 2020
@14rcole
Copy link
Collaborator Author

14rcole commented Feb 19, 2020

[merge]

@adl-bot adl-bot merged commit bed2b98 into CentOS-PaaS-SIG:develop Feb 19, 2020
@@ -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 }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have two }} and only one {{ .. I know sk already merged, but this does not work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants