10 lines
181 B
YAML
10 lines
181 B
YAML
---
|
|
- name: Install webserver
|
|
hosts: all
|
|
tasks:
|
|
- name: Install apache2 on Ubuntu
|
|
package:
|
|
name: "apache2"
|
|
state: present
|
|
when: ansible_family == "debian"
|