ansible-edda/playbooks/roles/services/start/tasks/main.yml

14 lines
365 B
YAML
Raw Normal View History

---
- name: "set the user variables"
ansible.builtin.import_role:
name: "services/include"
vars_from: "user"
- name: "enable and start pod-{{ services_service_name }}"
become_user: "{{ services_service_user_name }}"
ansible.builtin.systemd:
name: "pod-{{ services_service_name }}.service"
enabled: true
state: "started"
scope: "user"