File tree Expand file tree Collapse file tree 4 files changed +2
-14
lines changed Expand file tree Collapse file tree 4 files changed +2
-14
lines changed Original file line number Diff line number Diff line change 3333 when : ansible_os_family == 'Debian'
3434
3535 - name : Install required python packages on Suse
36- ansible.builtin.command : zypper -n install python-xml python3- rpm python3 -PyMySQL
36+ ansible.builtin.command : zypper -n install python311- rpm python311 -PyMySQL
3737 changed_when : false
3838 when : ansible_os_family == 'Suse'
3939
Original file line number Diff line number Diff line change 77 https_proxy : " {{ lookup('env', 'https_proxy') | default(omit) }}"
88 no_proxy : " {{ lookup('env', 'no_proxy') | default(omit) }}"
99 tasks :
10- - name : Install required tools on SuSE
11- community.general.zypper :
12- name : python-xml
13- state : present
14- when : ansible_facts.os_family == 'Suse'
15-
1610 - name : Install required packages
1711 ansible.builtin.package :
1812 name : python3-apt
Original file line number Diff line number Diff line change 2020
2121 - name : Install required tools on SuSE
2222 # cannot use zypper module, since it depends on python-xml
23- ansible.builtin.command : zypper -n install python-xml awk
23+ ansible.builtin.command : zypper -n install awk
2424 changed_when : false
2525 when : ansible_facts.os_family == 'Suse'
2626
Original file line number Diff line number Diff line change 5050 update_cache : true
5151 when : ansible_os_family == 'Debian'
5252
53- - name : Install required tools on SuSE
54- # cannot use zypper module, since it depends on python-xml
55- ansible.builtin.command : zypper -n install python-xml
56- changed_when : false
57- when : ansible_facts.os_family == 'Suse'
58-
5953 - name : Install required tools on fedora
6054 ansible.builtin.dnf :
6155 name :
You can’t perform that action at this time.
0 commit comments