Commit d429b84a by Joseph Mulloy

Uppercase variable USER_FAIL_MISSING_KEYS OPS-1433

parent 21b8a4d3
......@@ -47,4 +47,4 @@ user_debian_pkgs:
# users. In the default false state this playbook will only print a warning
# message, but not halt.
#
user_fail_missing_keys: false
USER_FAIL_MISSING_KEYS: false
......@@ -140,7 +140,7 @@
msg: "User {{ item.item.name }} doesn't have an SSH key associated with their github account"
with_items: "{{ github_users_return.results | default([]) }}"
# We skip users in the previous task, and they end up with no content_length
when: (user_fail_missing_keys and 'content' in item and item.content == "")
when: (USER_FAIL_MISSING_KEYS and 'content' in item and item.content == "")
- name: Get github key(s) and update the authorized_keys file
authorized_key:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment