20 lines
583 B
YAML
20 lines
583 B
YAML
- name: Set service variables
|
|
set_fact:
|
|
service_user_name: "pod-{{ service_name }}"
|
|
|
|
- name: Set service variables
|
|
set_fact:
|
|
service_home: "/var/lib/{{ ansible_hostname }}/home/{{ service_user_name }}"
|
|
|
|
- name: Set service variables
|
|
set_fact:
|
|
local_service_home: "./filesystem/{{ ansible_hostname }}/{{ service_home }}"
|
|
|
|
- name: Print service variables
|
|
debug:
|
|
msg:
|
|
- "service_name: {{ service_name }}"
|
|
- "service_user_name: {{ service_user_name }}"
|
|
- "service_home: {{ service_home }}"
|
|
- "local_service_home: {{ local_service_home }}"
|