ansible-edda/playbooks/roles/services/setup/system/tasks/include/veth.yml

22 lines
768 B
YAML

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