File tree Expand file tree Collapse file tree 3 files changed +24
-10
lines changed
packages_installation/tasks Expand file tree Collapse file tree 3 files changed +24
-10
lines changed Original file line number Diff line number Diff line change 4444 <on _reboot >restart</on _reboot >
4545 <on _crash >restart</on _crash >
4646 <devices >
47+ <tpm model =" tpm-tis" >
48+ <backend type =" emulator" version =" 2.0" />
49+ </tpm >
4750 <disk type =" file" device =" cdrom" >
4851 <target dev =' {{ libvirt_cdromdev }}' bus =' {{ libvirt_cdrombus }}' />
4952 <readonly />
Original file line number Diff line number Diff line change 3333 become : yes
3434 when : CONTAINER_RUNTIME == "podman"
3535
36+ - name : Install swtpm
37+ dnf :
38+ name : swtpm
39+ state : present
40+ become : yes
Original file line number Diff line number Diff line change 77 state : latest
88
99 # TODO: (Sunnatillo) Remove this task after fully removing apt-key
10- - name : Remove OS old repository (without gpg key file location)
10+ - name : Remove OS old repository (without gpg key file location)
1111 apt_repository :
1212 repo : " deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_{{ OS_VERSION_ID }}/ /"
1313 state : absent
14-
14+
1515 - name : Remove Ubuntu Noble old repository (without gpg key file location)
1616 apt_repository :
1717 repo : " deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_{{ OS_VERSION_ID }}/ /"
3535 when : ansible_distribution_release == "noble"
3636
3737 - name : Dearmor Release key
38- shell : |
38+ shell : |
3939 cat /usr/share/keyrings/libcontainers-archive-keyring.asc | sudo gpg --dearmor -o /usr/share/keyrings/libcontainers-archive-keyring.gpg --yes
40-
40+
4141 - name : Add OS repository
4242 lineinfile :
4343 path : /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
6666 - name : Podman
6767 block :
6868 - name : Install podman
69- apt :
69+ apt :
7070 name : podman
7171 state : present
7272
9292 dest : /etc/apt/keyrings/docker.asc
9393 mode : ' 0644'
9494 force : true
95-
95+
9696 - name : Dearmor GPG key
97- shell : |
97+ shell : |
9898 cat /etc/apt/keyrings/docker.asc | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg --yes
99-
99+
100100 # TODO: (Sunnatillo) Remove this task after fully removing apt-key
101- - name : Remove Docker old repository (without gpg key file location)
101+ - name : Remove Docker old repository (without gpg key file location)
102102 apt_repository :
103103 repo : " deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
104104 state : absent
105105
106106 # TODO: (Sunnatillo) Remove this task after fully removing apt-key
107- - name : Remove Docker old repository (without gpg key file location)
107+ - name : Remove Docker old repository (without gpg key file location)
108108 apt_repository :
109109 repo : " deb https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
110110 state : absent
150150 append : yes
151151 when : CONTAINER_RUNTIME == "docker"
152152 become : yes
153+
154+ - name : Install swtpm
155+ apt :
156+ name : swtpm
157+ state : present
158+
153159 become : yes
You can’t perform that action at this time.
0 commit comments