hac/ansible/packer.yml

15 lines
261 B
YAML
Raw Normal View History

2024-03-20 13:45:58 +01:00
---
- name: Configure template
hosts: default
become: true
roles:
- auditd
- fail2ban
- journald
- sshd
- timesyncd
post_tasks:
- name: Clean cloud-init
ansible.builtin.command: "cloud-init clean"
changed_when: false