fix linting
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2022-10-11 09:48:18 +02:00
parent 6868b7fa2d
commit a5d22b014b
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 7 additions and 4 deletions

View File

@ -6,9 +6,12 @@
poll: 0
when: not require_reboot | bool
listen: __network_restart
tags:
- skip_ansible_later
- name: Reboot server
shell: sleep 2 && shutdown -r now "Reboot triggered by Ansible"
reboot:
msg: "Reboot triggered by Ansible"
async: 1
poll: 0
ignore_errors: yes

View File

@ -1,2 +1,2 @@
---
__network_restart_command: sleep 2 && systemctl restart network
__network_restart_command: systemctl restart network

View File

@ -1,6 +1,6 @@
---
__network_restart_command: |-
nmcli connection reload &&
nmcli connection reload
{%- for file in __network_ifcfg | json_query('results[?changed==`true`].dest') %}
nmcli conn up {{ file }}
&& nmcli conn up {{ file }}
{%- endfor %}