create network role and include it into base (only openbsd does something)

This commit is contained in:
Timo Makinen 2019-05-28 00:25:06 +03:00
parent ba0c70532f
commit dd19c94511
9 changed files with 101 additions and 0 deletions

View file

@ -0,0 +1,12 @@
---
- name: include os spcific tasks
include_tasks: "{{ ansible_os_family }}.yml"
- name: create resolv.conf
template:
src: resolv.conf.j2
dest: /etc/resolv.conf
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
when: network_dns_servers is defined