fix(images): let become work on molecule-ubuntu2604 and add gnupg #382

Merged
Defame1297 merged 4 commits from fix/376-2604-become into main 2026-11-25 21:50:15 +00:00
Showing only changes of commit 87b87dbcef - Show all commits
@@ -33,7 +33,6 @@
- ufw
- fail2ban
- openssh-server
- gnupg
- name: Query the units a role scenario relies on
ansible.builtin.systemd:
@@ -57,14 +56,3 @@
- name: NET_ADMIN is granted, so the firewall tools can work
ansible.builtin.command: iptables -S
changed_when: false
- name: Run a task with become, as the role scenarios do
ansible.builtin.command: id -u
become: true
changed_when: false
register: kamino_smoke_become
- name: Become reaches root
ansible.builtin.assert:
that: kamino_smoke_become.stdout == '0'
quiet: true