The molecule images keep no APT lists, and the ufw and fail2ban scenarios, and the gitea scenario's remove path, relied on those packages being baked in. Their prepare now refreshes the cache, so they keep working once the images stop shipping the packages. Refs: #435 Assisted-by: Claude Code
13 lines
318 B
YAML
13 lines
318 B
YAML
---
|
|
# The remove-path play in verify.yml needs ufw, which the image does not ship. It keeps no APT
|
|
# lists, so the install refreshes them.
|
|
- name: Prepare
|
|
hosts: all
|
|
gather_facts: false
|
|
tasks:
|
|
- name: Install ufw
|
|
ansible.builtin.apt:
|
|
name: ufw
|
|
state: present
|
|
update_cache: true
|