Files
portfolio/professional-infra/linux-operations-automation/molecule/default/converge.yml
T

25 lines
449 B
YAML
Raw Normal View History

2026-05-04 17:37:24 +00:00
---
# Molecule converge playbook - applies roles to test them
- name: Converge
hosts: all
become: true
gather_facts: true
pre_tasks:
- name: Update apt cache
apt:
update_cache: yes
cache_valid_time: 3600
when: ansible_os_family == "Debian"
roles:
- role: base_provision
- role: hardening
- role: patching
post_tasks:
- name: Print Ansible facts
debug:
var: ansible_facts