File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
inventory-generation/notifications Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 48
48
src : " hosts"
49
49
dest : " {{ directory }}/iac/inventories/notifications/inventory/hosts"
50
50
51
+ vars :
52
+ ocp_subdomain : " {{ hosting_environments[0].ocp_sub_domain | lower }}"
51
53
when :
52
54
- notifications_dir.stat.exists is false
53
55
- start_date is defined
54
56
- engagement_type | default('') == 'Residency' or engagement_type | default('') == 'DO500'
55
57
- (hosting_environments is defined) and (hosting_environments | length > 0)
56
58
- (archive_date | default('2006-01-02T15:04:05Z') | to_datetime('%Y-%m-%dT%H:%M:%SZ')).strftime('%s') > now(utc=true).strftime('%s')
59
+ - hosting_environments[0].ocp_sub_domain is defined
57
60
58
61
- name : " Process list of users from template"
59
62
template :
You can’t perform that action at this time.
0 commit comments