Ansible Overview
Ansible Overview
Section titled “Ansible Overview”Quick example (playbook)
Section titled “Quick example (playbook)”---- name: Ensure NGINX running hosts: web become: true tasks: - apt: name: nginx state: present update_cache: true - systemd: name: nginx state: started enabled: true