ansible-edda/plays/services/roles/base/tasks/include/system/veth.yml

21 lines
804 B
YAML

- name: "system : veth : configure connect-pod-service"
ansible.builtin.copy:
src: "./system/veth/connect-pod-service@.service"
dest: "/etc/systemd/system/connect-pod-service@.service"
mode: 0644
register: services_base_system_connect_pod_service_service_file
- name: "system : veth : configure connect-pod-service path trigger"
ansible.builtin.template:
src: "./system/veth/connect-pod-service@.path.j2"
dest: "/etc/systemd/system/connect-pod-service@.path"
mode: 0644
register: services_base_system_connect_pod_service_path_file
- name: "system : veth : systemd daemon reload"
ansible.builtin.systemd:
daemon_reload: true
when:
services_base_system_connect_pod_service_service_file.changed or
services_base_system_connect_pod_service_path_file.changed