Commit bddbb001 authored by JANON Alexis's avatar JANON Alexis

main.yml: use fqdn instead of short hostname

fqdn: fully qualified domain name
parent 598fe215
......@@ -19,7 +19,7 @@
gather_facts: true
vars:
base_dir: "{{ ansible_env.HOME }}/repo"
results_dir: "{{ base_dir }}/results/{{ timestamp }}/{{ ansible_hostname }}"
results_dir: "{{ base_dir }}/results/{{ timestamp }}/{{ ansible_fqdn }}"
tasks:
- name: Prepare remote host before copying
file:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment