Files
molecule-podman-example/install.yml

16 lines
238 B
YAML

---
- name: Install and start nginx
hosts: all
tasks:
- name: Install nginx
ansible.builtin.dnf:
name: nginx
- name: Start nginx
ansible.builtin.systemd:
name: nginx
state: started
enabled: true