]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blobdiff - site.yml
Use variables to fill gpg information
[perso/Immae/Config/Ansible.git] / site.yml
index c022b973b41666d705d7fcfb69ba1d6a534deda9..6e73ae355b31d924cf372f20a152d7494cf443f6 100644 (file)
--- 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: