ansible-course/09-roles/install_apache.yml
2024-07-13 23:10:41 -04:00

16 lines
261 B
YAML

---
- hosts: all
become: true
tasks:
#### Ubuntu/Debian Section ####
- name: Install apache2 package with php support
package:
name:
- "{{ apache_package }}"
- "{{ php_package }}"
state: latest
update_cache: yes