File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 83
83
mode : ' 0644'
84
84
when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
85
85
86
+ - name : Disable Oracle Linux Automation Manager 2.3 repository
87
+ community.general.ini_file :
88
+ path : " /etc/yum.repos.d/oraclelinux-automation-manager-ol8.repo"
89
+ section : ol8_automation2.3
90
+ option : enabled
91
+ value : " 0"
92
+ mode : ' 0644'
93
+ when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
94
+
86
95
- name : Install Oracle Linux Automation Manager
87
96
ansible.builtin.dnf :
88
97
name : ol-automation-manager
97
106
regexp : ' ^unixsocket '
98
107
insertafter : ' ^# unixsocketperm '
99
108
line : unixsocket /var/run/redis/redis.sock
109
+ when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
100
110
101
111
- name : Edit unixsocketperm in /etc/redis.conf
102
112
ansible.builtin.lineinfile :
103
113
path : /etc/redis.conf
104
114
regexp : ' ^unixsocketperm '
105
115
insertafter : ' ^unixsocket '
106
116
line : unixsocketperm 775
117
+ when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
107
118
108
119
- name : Ensure postgresql data directory exists
109
120
ansible.builtin.file :
You can’t perform that action at this time.
0 commit comments