Add async to the networkd start task
The async function was added to the restart handler but not the start task. This change adds the missing async which will ensure we're not hung on transient networkd starts. Change-Id: I81a9e578875a43f7581abec0a3bf0c4067ab4d41 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
a04e0b6989
commit
9f6857f602
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Restart systemd-networkd
|
||||
- name: Restart networkd
|
||||
systemd:
|
||||
name: "systemd-networkd"
|
||||
state: restarted
|
||||
@ -22,9 +22,15 @@
|
||||
poll: 0
|
||||
when:
|
||||
- systemd_run_networkd | bool
|
||||
listen: Restart systemd-networkd
|
||||
tags:
|
||||
- systemd-networkd
|
||||
|
||||
- name: (RE)Gather facts post setup
|
||||
setup:
|
||||
gather_subset: "network"
|
||||
listen: Restart systemd-networkd
|
||||
|
||||
- name: Restart systemd-resolved
|
||||
systemd:
|
||||
name: "systemd-resolved"
|
||||
|
@ -130,11 +130,9 @@
|
||||
name: "systemd-networkd"
|
||||
enabled: "yes"
|
||||
state: started
|
||||
async: 45
|
||||
poll: 0
|
||||
when:
|
||||
- systemd_run_networkd | bool
|
||||
tags:
|
||||
- systemd-networkd
|
||||
|
||||
- name: (RE)Gather facts post setup
|
||||
setup:
|
||||
gather_subset: "network"
|
||||
|
Loading…
Reference in New Issue
Block a user