18 lines
459 B
YAML
18 lines
459 B
YAML
- import_playbook: firewall.ansible.yml
|
|
- import_playbook: modes/gaming.ansible.yml
|
|
when: installation_type == 'gaming'
|
|
|
|
- hosts: localhost
|
|
tasks:
|
|
- name: Populate interfaces
|
|
template:
|
|
src: files/network_interfaces
|
|
dest: /etc/network/interfaces
|
|
owner: root
|
|
group: root
|
|
mode: '0644'
|
|
- name: Enable networking service
|
|
service:
|
|
name: networking
|
|
state: started
|
|
enabled: true
|