10 lines
234 B
YAML
10 lines
234 B
YAML
- name: Install Apache2 HTTP server
|
|
ansible.builtin.apt:
|
|
name: apache2
|
|
update_cache: true
|
|
state: latest
|
|
- name: Start Apache2 HTTP server
|
|
ansible.builtin.service:
|
|
name: apache2
|
|
state: started
|
|
enabled: true
|