e8716e742e
If we move these into a subdir, it cleans up the number of things we nave to files match on. Stop running disable-puppet-agent in base. We run it in run-puppet which should be fine. Change-Id: Ia16adb96b11d25a097490882c4c59a50a0b7b23d
30 lines
588 B
YAML
30 lines
588 B
YAML
- name: Include OS-specific tasks
|
|
include_tasks: "{{ item }}"
|
|
vars:
|
|
params:
|
|
files: "{{ distro_lookup_path }}"
|
|
loop: "{{ query('first_found', params, errors='ignore') }}"
|
|
|
|
- name: Install unbound
|
|
package:
|
|
state: present
|
|
name: unbound
|
|
|
|
- name: Write dhclient config files
|
|
include_tasks: dhclient.yaml
|
|
loop:
|
|
- /etc/dhcp/dhclient.conf
|
|
- /etc/dhcp/dhclient-eth0.conf
|
|
|
|
- name: Write resolv.conf
|
|
copy:
|
|
src: resolv.conf
|
|
dest: /etc/resolv.conf
|
|
mode: 0444
|
|
|
|
- name: Enable unbound
|
|
service:
|
|
name: unbound
|
|
enabled: true
|
|
state: started
|