|
|
|
@ -43,7 +43,6 @@
|
|
|
|
|
command: git config user.name
|
|
|
|
|
args:
|
|
|
|
|
chdir: /etc
|
|
|
|
|
warn: off
|
|
|
|
|
register: name_configured
|
|
|
|
|
ignore_errors: True
|
|
|
|
|
changed_when: False
|
|
|
|
@ -52,14 +51,12 @@
|
|
|
|
|
command: git config user.name "{{ etckeeper_user_name }}"
|
|
|
|
|
args:
|
|
|
|
|
chdir: /etc
|
|
|
|
|
warn: off
|
|
|
|
|
when: name_configured.stdout != etckeeper_user_name
|
|
|
|
|
|
|
|
|
|
- name: "check git user.email"
|
|
|
|
|
command: git config user.email
|
|
|
|
|
args:
|
|
|
|
|
chdir: /etc
|
|
|
|
|
warn: off
|
|
|
|
|
register: email_configured
|
|
|
|
|
ignore_errors: True
|
|
|
|
|
changed_when: False
|
|
|
|
@ -68,7 +65,6 @@
|
|
|
|
|
command: git config user.email "{{ etckeeper_user_email }}"
|
|
|
|
|
args:
|
|
|
|
|
chdir: /etc
|
|
|
|
|
warn: off
|
|
|
|
|
when: email_configured.stdout != etckeeper_user_email
|
|
|
|
|
# FIXME this configures root@duster.bl0rg.net on soda
|
|
|
|
|
|
|
|
|
|