File tree Expand file tree Collapse file tree 8 files changed +40
-4
lines changed Expand file tree Collapse file tree 8 files changed +40
-4
lines changed Original file line number Diff line number Diff line change 320
320
name :
321
321
- ansible-core
322
322
state : present
323
+ retries : 5
324
+ delay : 10
323
325
when :
324
326
- inventory_hostname in groups['control']|default([])
325
327
- use_olae_only
Original file line number Diff line number Diff line change 16
16
ansible.builtin.dnf :
17
17
name : oracle-epel-release-el8
18
18
state : present
19
+ retries : 5
20
+ delay : 10
19
21
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
20
- # when:
21
- # - ansible_facts['distribution_major_version'] == '8'
22
22
23
23
- name : Install version lock plugin
24
24
ansible.builtin.dnf :
25
25
name : python3-dnf-plugin-versionlock
26
26
enablerepo : ol8_developer_EPEL
27
27
state : present
28
+ retries : 5
29
+ delay : 10
28
30
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
29
31
30
32
- name : Version lock python3-click
40
42
- python3-pip
41
43
enablerepo : ol8_developer_EPEL
42
44
state : present
45
+ retries : 5
46
+ delay : 10
43
47
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
44
48
45
49
- name : Install pexpect using pip
59
63
state=enabled
60
64
mode : ' 0644'
61
65
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
62
- # when:
63
- # - ansible_distribution_major_version | int >= 8
64
66
65
67
- name : Install the database
66
68
ansible.builtin.dnf :
67
69
name : postgresql-server
68
70
state : present
71
+ retries : 5
72
+ delay : 10
69
73
70
74
- name : Ensure postgresql data directory exists
71
75
ansible.builtin.file :
139
143
ansible.builtin.dnf :
140
144
name : oraclelinux-automation-manager-release-el8
141
145
state : present
146
+ retries : 5
147
+ delay : 10
142
148
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
143
149
144
150
- name : Disable Oracle Linux Automation Manager 1.0 repository
172
178
ansible.builtin.dnf :
173
179
name : ol-automation-manager
174
180
state : present
181
+ retries : 5
182
+ delay : 10
175
183
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
176
184
177
185
- name : Edit unixsocket in /etc/redis.conf
Original file line number Diff line number Diff line change 16
16
ansible.builtin.dnf :
17
17
name : oracle-epel-release-el8
18
18
state : present
19
+ retries : 5
20
+ delay : 10
19
21
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
20
22
21
23
- name : Install version lock plugin
22
24
ansible.builtin.dnf :
23
25
name : python3-dnf-plugin-versionlock
24
26
enablerepo : ol8_developer_EPEL
25
27
state : present
28
+ retries : 5
29
+ delay : 10
26
30
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
27
31
28
32
- name : Version lock python3-click
38
42
- python3-pip
39
43
enablerepo : ol8_developer_EPEL
40
44
state : present
45
+ retries : 5
46
+ delay : 10
41
47
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
42
48
43
49
- name : Install pexpect
48
54
ansible.builtin.dnf :
49
55
name : oraclelinux-automation-manager-release-el8
50
56
state : present
57
+ retries : 5
58
+ delay : 10
51
59
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
52
60
53
61
- name : Enable Oracle Linux Automation Manager 1.0 repository
79
87
ansible.builtin.dnf :
80
88
name : ol-automation-manager
81
89
state : present
90
+ retries : 5
91
+ delay : 10
82
92
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
83
93
84
94
- name : Edit unixsocket in /etc/redis.conf
Original file line number Diff line number Diff line change 17
17
ansible.builtin.dnf :
18
18
name : oraclelinux-automation-manager-release-el8
19
19
state : present
20
+ retries : 5
21
+ delay : 10
20
22
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
21
23
22
24
- name : Disable Oracle Linux Automation Manager 1.0 repository
52
54
- python3.11-ansible-builder
53
55
- python3.11-pip
54
56
state : present
57
+ retries : 5
58
+ delay : 10
55
59
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
56
60
57
61
- name : Install Ansible Runner using pip
Original file line number Diff line number Diff line change 28
28
ansible.builtin.dnf :
29
29
name : git
30
30
state : present
31
+ retries : 5
32
+ delay : 10
31
33
32
34
- name : Create new repo on the git server
33
35
ansible.builtin.file :
Original file line number Diff line number Diff line change 22
22
- cockpit
23
23
- cockpit-machines
24
24
state : present
25
+ retries : 5
26
+ delay : 10
25
27
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
26
28
27
29
- name : Install Oracle Linux 9 virtualization packages
35
37
- cockpit
36
38
- cockpit-machines
37
39
state : present
40
+ retries : 5
41
+ delay : 10
38
42
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '9'
39
43
40
44
- name : Start and enable Oracle Linux 8 monolithic virtualization services
Original file line number Diff line number Diff line change 17
17
ansible.builtin.dnf :
18
18
name : oraclelinux-automation-manager-release-el8
19
19
state : present
20
+ retries : 5
21
+ delay : 10
20
22
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
21
23
22
24
- name : Disable Oracle Linux Automation Manager 1.0 repository
50
52
ansible.builtin.dnf :
51
53
name : ol-private-automation-hub-installer
52
54
state : present
55
+ retries : 5
56
+ delay : 10
53
57
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
54
58
55
59
- name : Copy PAH playbook to home directory
Original file line number Diff line number Diff line change 17
17
name : " *"
18
18
state : latest
19
19
update_only : true
20
+ retries : 5
21
+ delay : 10
20
22
when : ansible_distribution == 'OracleLinux'
21
23
22
24
- name : Check if a reboot is required
You can’t perform that action at this time.
0 commit comments