This role will determind the linux distro and install apache2.
- Sudo access to remote host.
- ansible.posix
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: webserver
become: yes
gather_facts: true
roles:
- provision_apache2
BSD
Dan Eckholm - IT-Pappa