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
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- name: Restart systemd-networkd
|
- name: Restart networkd
|
||||||
systemd:
|
systemd:
|
||||||
name: "systemd-networkd"
|
name: "systemd-networkd"
|
||||||
state: restarted
|
state: restarted
|
||||||
@ -22,9 +22,15 @@
|
|||||||
poll: 0
|
poll: 0
|
||||||
when:
|
when:
|
||||||
- systemd_run_networkd | bool
|
- systemd_run_networkd | bool
|
||||||
|
listen: Restart systemd-networkd
|
||||||
tags:
|
tags:
|
||||||
- systemd-networkd
|
- systemd-networkd
|
||||||
|
|
||||||
|
- name: (RE)Gather facts post setup
|
||||||
|
setup:
|
||||||
|
gather_subset: "network"
|
||||||
|
listen: Restart systemd-networkd
|
||||||
|
|
||||||
- name: Restart systemd-resolved
|
- name: Restart systemd-resolved
|
||||||
systemd:
|
systemd:
|
||||||
name: "systemd-resolved"
|
name: "systemd-resolved"
|
||||||
|
@ -130,11 +130,9 @@
|
|||||||
name: "systemd-networkd"
|
name: "systemd-networkd"
|
||||||
enabled: "yes"
|
enabled: "yes"
|
||||||
state: started
|
state: started
|
||||||
|
async: 45
|
||||||
|
poll: 0
|
||||||
when:
|
when:
|
||||||
- systemd_run_networkd | bool
|
- systemd_run_networkd | bool
|
||||||
tags:
|
tags:
|
||||||
- systemd-networkd
|
- systemd-networkd
|
||||||
|
|
||||||
- name: (RE)Gather facts post setup
|
|
||||||
setup:
|
|
||||||
gather_subset: "network"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user