Merge "Add async to the networkd start task"
This commit is contained in:
commit
8715f97e8c
@ -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