File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 141141 regexp : ' ^CLOUD_NETCONFIG_MANAGE='
142142 line : ' CLOUD_NETCONFIG_MANAGE="no"'
143143 backup : true
144+ when : ansible_distribution_major_version != '16'
144145
145- - name : Slurp SBD config
146+ - name : Ensure 'CLOUD_NETCONFIG_MANAGE' is disabled for eth0 for SLES 16.0
147+ ansible.builtin.lineinfile :
148+ path : /usr/etc/default/cloud-netconfig
149+ regexp : ' ^CLOUD_NETCONFIG_MANAGE='
150+ line : ' CLOUD_NETCONFIG_MANAGE="no"'
151+ backup : true
152+ when : ansible_distribution_major_version == '16'
153+
154+ # Workaround for bsc#1253223
155+ - name : Create symbolic between /usr/etc/default/cloud-netconfig and /etc/default/cloud-netconfig
156+ ansible.builtin.file :
157+ src : /usr/etc/default/cloud-netconfig
158+ dest : /etc/default/cloud-netconfig
159+ state : link
160+ when : ansible_distribution_major_version == '16'
161+
162+ - name : Softfail for old cloud-regionsrv-client in 15sp2
163+ ansible.builtin.debug :
164+ msg :
165+ - " [OSADO][softfail] bsc#1253223 cloud-netconfig does not read /usr/etc/default/cloud-netconfig"
166+ when : ansible_distribution_major_version == '16'
167+
168+ - name : Slurp SBD config
146169 ansible.builtin.slurp :
147170 src : /etc/sysconfig/sbd
148171 register : sbd_slurp
Original file line number Diff line number Diff line change 2828 changed_when : false
2929
3030# Insert the the full by-id address in the list of each discovered disk that is of the type LIO-ORG (default Linux iSCSI server)
31-
3231- name : Set iscsi facts
3332 ansible.builtin.set_fact :
3433 sbd_list : " {{ sbd_list + [iscsi_prefix + item | split(' ') | last] }}"
You can’t perform that action at this time.
0 commit comments