style(lint): quote mode
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0451be6a87
commit
6713889ea6
@ -13,7 +13,7 @@
|
|||||||
path: "/etc/systemd/network"
|
path: "/etc/systemd/network"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0755
|
mode: "0755"
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: Create systemd.netdev files
|
- name: Create systemd.netdev files
|
||||||
@ -24,7 +24,7 @@
|
|||||||
dest: "/etc/systemd/network/{{ item.filename }}"
|
dest: "/etc/systemd/network/{{ item.filename }}"
|
||||||
owner: "{{ systemd_networkd_unix_user }}"
|
owner: "{{ systemd_networkd_unix_user }}"
|
||||||
group: "{{ systemd_networkd_unix_user }}"
|
group: "{{ systemd_networkd_unix_user }}"
|
||||||
mode: 0644
|
mode: "0644"
|
||||||
when: item.netdev_options is defined and
|
when: item.netdev_options is defined and
|
||||||
item.netdev_options | selectattr("key", "==", "Kind") and
|
item.netdev_options | selectattr("key", "==", "Kind") and
|
||||||
item.netdev_options | selectattr("value", "!=", "wireguard")
|
item.netdev_options | selectattr("value", "!=", "wireguard")
|
||||||
@ -36,7 +36,7 @@
|
|||||||
dest: "/etc/systemd/network/{{ item.filename }}"
|
dest: "/etc/systemd/network/{{ item.filename }}"
|
||||||
owner: "{{ systemd_networkd_unix_user }}"
|
owner: "{{ systemd_networkd_unix_user }}"
|
||||||
group: "{{ systemd_networkd_unix_user }}"
|
group: "{{ systemd_networkd_unix_user }}"
|
||||||
mode: 0600
|
mode: "0600"
|
||||||
when: item.netdev_options is defined and
|
when: item.netdev_options is defined and
|
||||||
item.netdev_options | selectattr("key", "equalto", "Kind") and
|
item.netdev_options | selectattr("key", "equalto", "Kind") and
|
||||||
item.netdev_options | selectattr("value", "equalto", "wireguard")
|
item.netdev_options | selectattr("value", "equalto", "wireguard")
|
||||||
@ -50,7 +50,7 @@
|
|||||||
dest: "/etc/systemd/network/{{ item.filename }}"
|
dest: "/etc/systemd/network/{{ item.filename }}"
|
||||||
owner: "{{ systemd_networkd_unix_user }}"
|
owner: "{{ systemd_networkd_unix_user }}"
|
||||||
group: "{{ systemd_networkd_unix_user }}"
|
group: "{{ systemd_networkd_unix_user }}"
|
||||||
mode: 0644
|
mode: "0644"
|
||||||
with_items: "{{ systemd_networkd_network }}"
|
with_items: "{{ systemd_networkd_network }}"
|
||||||
notify: Restart networkd
|
notify: Restart networkd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user