blob: 0b87e8531ae7366b08871997af5b535cd7248e64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#This is a workaround so we can check for the network to come up before starting the quadlets
#https://github.com/containers/podman/issues/22197
#https://github.com/systemd/systemd/issues/3312
- name: Copy check-network-online.service into systemd user service directory
ansible.builtin.copy:
src: "check-network-online.service"
dest: "/etc/systemd/user/check-network-online.service"
register: systemd
- name: Reload systemd daemon
ansible.builtin.systemd_service:
daemon_reload: true
when: systemd.changed
|