ansible-course/04-create-inventory/install_apache.yml

16 lines
261 B
YAML
Raw Normal View History

2024-07-12 22:39:02 +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