forked from LibreSchool/server-config
Configurazione di git-daemon completata con successo.
This commit is contained in:
parent
2d3ba6fdc8
commit
ffc74fc52f
@ -33,11 +33,12 @@
|
|||||||
register: chk_clientpullinstall_repo
|
register: chk_clientpullinstall_repo
|
||||||
changed_when: chk_clientpullinstall_repo.rc != 0
|
changed_when: chk_clientpullinstall_repo.rc != 0
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
sudo: yes
|
||||||
|
|
||||||
- name: Aggiorno il repo se già esistente
|
- name: Aggiorno il repo se già esistente
|
||||||
git:
|
shell: pushd /var/lib/git-daemon/repositories/client-pull-installation.git; git fetch -p origin; popd
|
||||||
repo: https://github.com/bglug-it/client-pull-installation.git
|
sudo: yes
|
||||||
dest: /var/lib/git-daemon/repositories/client-pull-installation.git
|
sudo_user: git-daemon
|
||||||
when: chk_clientpullinstall_repo|success
|
when: chk_clientpullinstall_repo|success
|
||||||
|
|
||||||
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user