Add a reasonable default incase certmonger user isn't set

Change-Id: I4a7e06c302417424c239145593b38527efa636a0
This commit is contained in:
Lance Bragstad 2020-06-02 10:30:48 -05:00
parent 79862dd765
commit d2eb700ce1
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@
- name: create list of hosts to clean up in IPA
set_fact:
hosts_list: "{{ hosts_list + [ hostvars[item]['canonical_hostname'] ] }}"
loop: "{{ groups.certmonger_user }}"
loop: "{{ groups.certmonger_user | default([]) }}"
- name: import cleanup tasks from the tripleo-ipa role
include_role: