diff options
Diffstat (limited to 'roles/my_workspace/tasks/project.yml')
-rw-r--r-- | roles/my_workspace/tasks/project.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/my_workspace/tasks/project.yml b/roles/my_workspace/tasks/project.yml index cd21ddb..e788eef 100644 --- a/roles/my_workspace/tasks/project.yml +++ b/roles/my_workspace/tasks/project.yml @@ -10,6 +10,18 @@ dest: '{{ project_dir }}' accept_hostkey: true + - name: Configure git repository + community.general.git_config: + scope: local + repo: '{{ project_dir }}' + name: '{{ item.name }}' + value: '{{ item.value }}' + loop: + - name: user.name + value: '{{ my_workspace_git_name }}' + - name: user.email + value: '{{ my_workspace_git_email }}' + - name: Check for Makefile ansible.builtin.file: path: '{{ project_dir }}/Makefile' |