Add 'cloudbox' configuration.
This commit is contained in:
parent
d203da49c2
commit
b1af7d31ec
16 changed files with 200 additions and 0 deletions
19
roles/systemd-networkd/tasks/main.yml
Normal file
19
roles/systemd-networkd/tasks/main.yml
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue