31 lines
593 B
YAML
31 lines
593 B
YAML
---
|
|
- name: Say hi role
|
|
ansible.builtin.debug:
|
|
msg: "Hi."
|
|
|
|
- name: Debug client_ips
|
|
ansible.builtin.debug:
|
|
msg: "{{ client_ips }}"
|
|
when:
|
|
- client_ips is defined
|
|
|
|
- name: Debug namehost
|
|
ansible.builtin.debug:
|
|
msg: "{{ namehost }}"
|
|
when:
|
|
- namehost is defined
|
|
|
|
- name: Debug roles_path
|
|
ansible.builtin.debug:
|
|
var: role_path
|
|
|
|
# - name: Include rear_restore role for fun
|
|
# ansible.builtin.import_role:
|
|
# name: ../roles/rear_restore
|
|
|
|
- name: Include rear_restore role for fun
|
|
ansible.builtin.import_role:
|
|
name: "{{ role_path }}/../rear_restore"
|
|
|
|
...
|