From 727ab17a644d52105746e18c301cf733b1181507 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 31 Jul 2023 23:44:54 +0200 Subject: move Ansible files to src/ --- src/roles/etckeeper/tasks/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/roles/etckeeper/tasks/main.yml (limited to 'src/roles/etckeeper/tasks/main.yml') 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 }}' -- cgit v1.2.3