]> git.immae.eu Git - perso/Immae/Config/Ansible.git/commitdiff
Change ansible repository url after cloning
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Wed, 21 Nov 2018 20:28:38 +0000 (21:28 +0100)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Wed, 21 Nov 2018 20:28:38 +0000 (21:28 +0100)
roles/init/tasks/main.yml

index 576053d41d52f754e6b815c38139abbd1893be9f..e8c8fd0258a925d883dd15b77e1dcb565eb5a73d 100644 (file)
   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: