fix indentation
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2021-12-28 17:16:57 +01:00
parent 7c2eb01048
commit 1fbb3d4612
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -28,18 +28,18 @@
when: item.key in ansible_interfaces or item.key.split(":")[0] in ansible_interfaces when: item.key in ansible_interfaces or item.key.split(":")[0] in ansible_interfaces
notify: __network_restart notify: __network_restart
- name: Add static routes - name: Add static routes
copy: copy:
content: "{{ item.value }}" content: "{{ item.value }}"
dest: "/etc/sysconfig/network-scripts/route-{{ item.key }}" dest: "/etc/sysconfig/network-scripts/route-{{ item.key }}"
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
loop: "{{ network_routes | dict2items }}" loop: "{{ network_routes | dict2items }}"
loop_control: loop_control:
label: "{{ item.key }}" label: "{{ item.key }}"
when: item.key in ansible_interfaces when: item.key in ansible_interfaces
notify: __network_restart notify: __network_restart
- name: Set dns server - name: Set dns server
template: template: