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:
Kevin Carter 2018-06-01 19:10:03 -05:00
parent 305db5348e
commit 3139f56820
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,9 @@
systemd:
name: "systemd-networkd"
state: restarted
enabled: "yes"
async: 45
poll: 0
when:
- systemd_run_networkd | bool
tags:
@ -26,6 +29,7 @@
systemd:
name: "systemd-resolved"
state: restarted
enabled: "yes"
when:
- systemd_resolved_available | bool
tags: