Add 'cloudbox' configuration.

This commit is contained in:
Andreas B. Mundt 2018-05-31 18:32:53 +03:00
parent d203da49c2
commit b1af7d31ec
16 changed files with 200 additions and 0 deletions

View file

@ -0,0 +1,19 @@
- name: install dynamic configuration for networkd
copy:
src: 10-dhcp.network
dest: /etc/systemd/network/10-dhcp.network
notify: "enable systemd-networkd"
#- name: install static configuration for networkd
# template:
# src: 20-static.network.j2
# dest: /etc/systemd/network/20-static.network
# notify: "enable systemd-networkd"
- name: prepare systemd-resolved
file:
src: /run/systemd/resolve/resolv.conf
dest: /etc/resolv.conf
state: link
force: yes
notify: "enable systemd-resolved"