From d512a906fcdbca34791beab9946f9f505fbe60a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 21 Nov 2018 21:28:38 +0100 Subject: [PATCH] Change ansible repository url after cloning --- roles/init/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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: -- 2.41.0