diff options
Diffstat (limited to 'src/roles/etckeeper/tasks/main.yml')
-rw-r--r-- | src/roles/etckeeper/tasks/main.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/roles/etckeeper/tasks/main.yml b/src/roles/etckeeper/tasks/main.yml new file mode 100644 index 0000000..19f9b86 --- /dev/null +++ b/src/roles/etckeeper/tasks/main.yml @@ -0,0 +1,16 @@ +- name: Make sure git is configured + become: true + block: + - name: Set user.name + community.general.git_config: + scope: local + repo: /etc + name: user.name + value: '{{ git_name }}' + + - name: Set user.email + community.general.git_config: + scope: local + repo: /etc + name: user.email + value: '{{ git_email }}' |