Variable ansible_fqdn is often not the name of the server

This commit is contained in:
Jérémy Dubois 2020-10-14 16:33:39 +02:00
parent 7ecf7be4a4
commit 556d98c170
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
name: user.email
repo: /etc
scope: local
value: "root@{{ ansible_fqdn | default('localhost') }}"
value: "root@{{ inventory_hostname }}.{{ general_technical_realm }}"
tags:
- etc-git