ansible-course/refactoring/install_apache.yml
2024-07-12 16:12:59 -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