forked from LibreSchool/server-config
Compare commits
1 Commits
master
...
git-repo-f
Author | SHA1 | Date | |
---|---|---|---|
d3288d7a60 |
@ -23,4 +23,5 @@ org_street: "Via Zenale e Butinone, 20"
|
|||||||
mirror_mode: nfs
|
mirror_mode: nfs
|
||||||
mirror_nfs_share: 192.168.255.1:/var/spool/apt-mirror/mirror
|
mirror_nfs_share: 192.168.255.1:/var/spool/apt-mirror/mirror
|
||||||
#remote_mirror: ubuntu.fastbull.org
|
#remote_mirror: ubuntu.fastbull.org
|
||||||
|
client_gitrepo: "https://github.com/bglug-it/client-pull-installation.git"
|
||||||
client_gitbranch: master
|
client_gitbranch: master
|
||||||
|
2
roles/git-daemon/defaults/main.yml
Normal file
2
roles/git-daemon/defaults/main.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
client_gitrepo: "https://github.com/bglug-it/client-pull-installation.git"
|
@ -48,7 +48,7 @@
|
|||||||
# E' in forma di shell perché non c'è modo di passare ad ansible
|
# E' in forma di shell perché non c'è modo di passare ad ansible
|
||||||
# il parametro --mirror
|
# il parametro --mirror
|
||||||
- name: Clono il repository client-pull-installation
|
- name: Clono il repository client-pull-installation
|
||||||
shell: git clone --mirror https://github.com/bglug-it/client-pull-installation.git /var/lib/git-daemon/repositories/client-pull-installation.git
|
shell: git clone --mirror {{ ansible_local.domain.client_gitrepo }} /var/lib/git-daemon/repositories/client-pull-installation.git
|
||||||
become: yes
|
become: yes
|
||||||
become_user: git-daemon
|
become_user: git-daemon
|
||||||
when: chk_clientpullinstall_repo|changed
|
when: chk_clientpullinstall_repo|changed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user