Fix some ansible-lint complaints.
This commit is contained in:
parent
c7030c9245
commit
2cf34e8e55
64 changed files with 357 additions and 297 deletions
|
@ -7,19 +7,20 @@
|
|||
copy:
|
||||
src: all-eth.network
|
||||
dest: /etc/systemd/network/all-eth.network
|
||||
mode: 0644
|
||||
notify: "start and 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: install static configuration for networkd
|
||||
# template:
|
||||
# src: 20-static.network.j2
|
||||
# dest: /etc/systemd/network/20-static.network
|
||||
# notify: "enable systemd-networkd"
|
||||
|
||||
- name: enable local stub resolver
|
||||
file:
|
||||
src: /run/systemd/resolve/stub-resolv.conf
|
||||
dest: /etc/resolv.conf
|
||||
state: link
|
||||
follow: False
|
||||
force: yes
|
||||
follow: false
|
||||
force: true
|
||||
notify: "start and enable systemd-resolved"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue