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 33
33
when : ansible_os_family == 'Debian'
34
34
35
35
- 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
37
37
changed_when : false
38
38
when : ansible_os_family == 'Suse'
39
39
Original file line number Diff line number Diff line change 7
7
https_proxy : " {{ lookup('env', 'https_proxy') | default(omit) }}"
8
8
no_proxy : " {{ lookup('env', 'no_proxy') | default(omit) }}"
9
9
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
-
16
10
- name : Install required packages
17
11
ansible.builtin.package :
18
12
name : python3-apt
Original file line number Diff line number Diff line change 20
20
21
21
- name : Install required tools on SuSE
22
22
# 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
24
24
changed_when : false
25
25
when : ansible_facts.os_family == 'Suse'
26
26
Original file line number Diff line number Diff line change 50
50
update_cache : true
51
51
when : ansible_os_family == 'Debian'
52
52
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
-
59
53
- name : Install required tools on fedora
60
54
ansible.builtin.dnf :
61
55
name :
You can’t perform that action at this time.
0 commit comments