2023-02-11 16:23:31 +01:00
|
|
|
---
|
|
|
|
- name: "set the user variables"
|
|
|
|
ansible.builtin.import_role:
|
|
|
|
name: "services/include"
|
|
|
|
vars_from: "user"
|
|
|
|
|
2023-02-12 12:38:26 +01:00
|
|
|
- name: "enable and start pod-{{ services_service_name }}"
|
2023-02-11 16:23:31 +01:00
|
|
|
become_user: "{{ services_service_user_name }}"
|
2023-02-12 12:38:26 +01:00
|
|
|
ansible.builtin.systemd:
|
|
|
|
name: "pod-{{ services_service_name }}.service"
|
|
|
|
enabled: true
|
|
|
|
state: "started"
|
|
|
|
scope: "user"
|