--- # This playbook prints a simple debug message - name: test2.yml hosts: 127.0.0.1 connection: local tasks: - name: Installer apache2 apt: name: apache2 state: present