ansible/roles/phone-provisioning/tasks/install_apache2.yml
2024-12-22 01:58:30 -05:00

13 lines
322 B
YAML

- name: Install Apache2 HTTP server
ansible.builtin.apt:
name: apache2
update_cache: true
state: latest
- name: Enable Apache2 Header mod
community.general.apache2_module:
name: headers
- name: Start Apache2 HTTP server
ansible.builtin.service:
name: apache2
state: started
enabled: true