16 lines
569 B
YAML
16 lines
569 B
YAML
|
- name: "{{ services_service_name }} : set user name variable"
|
||
|
set_fact:
|
||
|
services_service_user_name: "pod-{{ services_service_name }}"
|
||
|
|
||
|
- name: "{{ services_service_name }} : set user home variable"
|
||
|
set_fact:
|
||
|
services_service_user_home: "/var/lib/{{ ansible_hostname }}/home/{{ services_service_user_name }}"
|
||
|
|
||
|
- name: "{{ services_service_name }} : print variables"
|
||
|
debug:
|
||
|
msg:
|
||
|
- "services_service_user_name: {{ services_service_user_name }}"
|
||
|
- "services_service_user_home: {{ services_service_user_home }}"
|
||
|
when:
|
||
|
ansible_check_mode
|