From d0a835a44b3fd25267c3c8c6d3ed12e1e628816b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 13 Nov 2018 01:00:51 +0100 Subject: Use variables to fill gpg information --- site.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'site.yml') diff --git a/site.yml b/site.yml index c022b97..6e73ae3 100644 --- a/site.yml +++ b/site.yml @@ -1,10 +1,10 @@ --- - hosts: home vars: - gpg_useremail: "ismael@flony" + gpg_useremail: "{{ gpg_user }}@{{ ansible_hostname }}" gpg_realname: "Ismaƫl Bouya" - gpg_user: "ismael" - profile: "flony" + gpg_user: "{{ lookup('env', 'USER') }}" + profile: "{{ ansible_hostname }}" role: flony: "fretlink" features: -- cgit v1.2.3