-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.yml
More file actions
47 lines (42 loc) · 1.27 KB
/
Copy pathmain.yml
File metadata and controls
47 lines (42 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
- hosts: localhost
connection: local
gather_facts: false
vars_files:
- vars/vars_config.yml
tasks:
- include: tasks/Preparation.yml
- include: tasks/get_tag_list.yml select_sign="1"
with_items: "{{base_image_list}}"
loop_control:
loop_var: outer_item
when:
- base_image_list is defined
- base_image_list != []
- include: tasks/get_tag_list.yml select_sign="0"
with_items: "{{openshift_image_list}}"
loop_control:
loop_var: outer_item
when:
- openshift_image_list is defined
- openshift_image_list != []
- include: tasks/get_tag_list.yml select_sign="2"
with_items: "{{rhscl_image_list}}"
loop_control:
loop_var: outer_item
when:
- rhscl_image_list is defined
- rhscl_image_list != []
- include: tasks/get_tag_list.yml select_sign="0"
with_items: "{{jboss_image_list}}"
loop_control:
loop_var: outer_item
when:
- jboss_image_list is defined
- jboss_image_list != []
- include: tasks/get_tag_list.yml select_sign="0"
with_items: "{{other_image_list}}"
loop_control:
loop_var: outer_item
when:
- other_image_list is defined
- other_image_list != []