Commit 7677c98 1 parent 981c0ab commit 7677c98 Copy full SHA for 7677c98
File tree 2 files changed +18
-1
lines changed
2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 40
40
when :
41
41
- _swapon.stdout
42
42
tasks :
43
+ - name : Update dnf
44
+ ansible.builtin.command : dnf update -y
45
+ when : ansible_facts['distribution'] == "Rocky" and ansible_facts['distribution_major_version'] == "8"
46
+
47
+ - name : remove python36
48
+ ansible.builtin.package :
49
+ name :
50
+ - python36
51
+ state : absent
52
+ when : ansible_facts['distribution'] == "Rocky" and ansible_facts['distribution_major_version'] == "8"
53
+
54
+ - name : install python39
55
+ ansible.builtin.package :
56
+ name :
57
+ - python39
58
+ when : ansible_facts['distribution'] == "Rocky" and ansible_facts['distribution_major_version'] == "8"
59
+
43
60
- name : Install common packages
44
61
ansible.builtin.package :
45
62
name :
Original file line number Diff line number Diff line change 1
- ansible-core < 2.17.0
1
+ ansible-core
2
2
docker-image-py
3
3
jmespath
4
4
molecule
You can’t perform that action at this time.
0 commit comments