system-config/playbooks/roles/base/unbound/tasks/dhclient.yaml
Monty Taylor e8716e742e Move base roles into a base subdir
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
2020-05-27 16:28:37 -05:00

12 lines
233 B
YAML

- name: Register dhclient config file
stat:
path: "{{ item }}"
register: _dhclient
- name: Write dhclient config file
when: _dhclient.stat.exists | bool
copy:
src: dhclient.conf
dest: "{{ item }}"
mode: 0444