From d512a906fcdbca34791beab9946f9f505fbe60a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 21 Nov 2018 21:28:38 +0100 Subject: Change ansible repository url after cloning --- roles/init/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'roles') diff --git a/roles/init/tasks/main.yml b/roles/init/tasks/main.yml index 576053d..e8c8fd0 100644 --- a/roles/init/tasks/main.yml +++ b/roles/init/tasks/main.yml @@ -22,6 +22,12 @@ loop: - user-dirs.dirs - user-dirs.locale +- name: Change ansible git directory to permit pushes + git_config: + repo: . + scope: local + name: remote.origin.url + value: gitolite@git.immae.eu:perso/Immae/Config/Ansible - name: Add pam_environment register: pam_environment template: -- cgit v1.2.3