etc-git: use the git_config module instead of ini

This commit is contained in:
Jérémy Lecour 2017-07-27 16:50:23 -04:00 committed by Jérémy Lecour
parent d033d9773a
commit f20b95f075

View file

@ -21,11 +21,11 @@
register: git_init
- name: Git user.email is configured
ini_file:
dest: /etc/.git/config
section: user
option: email
value: "<root@{{ ansible_fqdn | default('localhost.localdomain') }}>"
git_config:
name: user.email
repo: /etc
scope: local
value: "root@{{ ansible_fqdn | default('localhost') }}"
- name: /etc/.git is secure
file: