Add an async to the networkd restart
When restarting networkd we don't need to wait for the restart to complete. This change adds an async to speed things up. Change-Id: I5e038f8a6fc00b476cfc505d8cc30929ba667127 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
305db5348e
commit
3139f56820
|
@ -17,6 +17,9 @@
|
||||||
systemd:
|
systemd:
|
||||||
name: "systemd-networkd"
|
name: "systemd-networkd"
|
||||||
state: restarted
|
state: restarted
|
||||||
|
enabled: "yes"
|
||||||
|
async: 45
|
||||||
|
poll: 0
|
||||||
when:
|
when:
|
||||||
- systemd_run_networkd | bool
|
- systemd_run_networkd | bool
|
||||||
tags:
|
tags:
|
||||||
|
@ -26,6 +29,7 @@
|
||||||
systemd:
|
systemd:
|
||||||
name: "systemd-resolved"
|
name: "systemd-resolved"
|
||||||
state: restarted
|
state: restarted
|
||||||
|
enabled: "yes"
|
||||||
when:
|
when:
|
||||||
- systemd_resolved_available | bool
|
- systemd_resolved_available | bool
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in New Issue