ansible-course/06-copying-files/install_apache.yml

16 lines
261 B
YAML
Raw Normal View History

2024-07-14 03:38:06 +02:00
---
- 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