19 lines
339 B
YAML
19 lines
339 B
YAML
|
---
|
||
|
- hosts: all
|
||
|
become: true
|
||
|
tasks:
|
||
|
|
||
|
- name: Update repository index
|
||
|
ansible.builtin.apt:
|
||
|
update_cache: yes
|
||
|
|
||
|
- name: Install apache2 package
|
||
|
ansible.builtin.apt:
|
||
|
name: apache2
|
||
|
state: absent
|
||
|
|
||
|
- name: Install support for php
|
||
|
ansible.builtin.apt:
|
||
|
name: libapache2-mod-php
|
||
|
state: absent
|