test(images): check become on 26.04 after the fixed image is pinned
The 26.04 smoke checks run against the pinned image, which gains the fix only after this change is built and pinned; they follow with the pin. Assisted-by: Claude Code
This commit is contained in:
1 parent
efd3a550c5
commit
87b87dbcef
1 file changed
-12
@@ -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
|
||||
Reference in new issue
Block a user