Browse Source

Fix ansible prolog (less informations, no more timestamp)

Emmanuel Bouthenot 9 years ago
parent
commit
0754b61c49
2 changed files with 4 additions and 6 deletions
  1. 3 4
      roles/common/defaults/main.yml
  2. 1 2
      templates/ansible/prolog.j2

+ 3 - 4
roles/common/defaults/main.yml

@@ -2,12 +2,11 @@
 # Default variables
 #
 
-ansible_master_user: 'admin'
-ansible_master_hostname: 'localhost'
-ansible_master_ip: $PIPE(hostname --ip)
+ansible_master: 'root@localhost'
 
 admins:
-admin_email: 'root@localhost'
+admins_emails:
+  - 'root@localhost'
 
 locale: 'en_US.UTF-8'
 timezone_area: 'Europe'

+ 1 - 2
templates/ansible/prolog.j2

@@ -2,7 +2,6 @@
 {{ C }}
 {{ C }} THIS FILE IS UNDER ANSIBLE CONTROL. DON'T EDIT IT HERE.
 {{ C }}
-{{ C }} Generated By: {{ ansible_master_user }}@{{ ansible_master_hostname }}[{{ ansible_master_ip}}]
-{{ C }} Last Update: {{ template_mtime }}
+{{ C }} Generated By: {{ ansible_master }}
 {{ C }}
 {%- endmacro %}