diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-21 21:28:38 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-21 21:28:38 +0100 |
commit | d512a906fcdbca34791beab9946f9f505fbe60a1 (patch) | |
tree | 66e229d1ba41d0387ff49e886d1854a6fe0e2dce /roles/init | |
parent | c32343b4e0a4066527d60ec4e51eefb6cd4eab67 (diff) | |
download | Ansible-d512a906fcdbca34791beab9946f9f505fbe60a1.tar.gz Ansible-d512a906fcdbca34791beab9946f9f505fbe60a1.tar.zst Ansible-d512a906fcdbca34791beab9946f9f505fbe60a1.zip |
Change ansible repository url after cloning
Diffstat (limited to 'roles/init')
-rw-r--r-- | roles/init/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ | |||
22 | loop: | 22 | loop: |
23 | - user-dirs.dirs | 23 | - user-dirs.dirs |
24 | - user-dirs.locale | 24 | - user-dirs.locale |
25 | - name: Change ansible git directory to permit pushes | ||
26 | git_config: | ||
27 | repo: . | ||
28 | scope: local | ||
29 | name: remote.origin.url | ||
30 | value: gitolite@git.immae.eu:perso/Immae/Config/Ansible | ||
25 | - name: Add pam_environment | 31 | - name: Add pam_environment |
26 | register: pam_environment | 32 | register: pam_environment |
27 | template: | 33 | template: |