forked from LibreSchool/server-config
Aggiunta tag per aggiornamento semplificato repo client. Commentato download repository clientmgmt.
This commit is contained in:
parent
276aaa217e
commit
75070f67c2
@ -34,6 +34,8 @@
|
|||||||
changed_when: chk_clientpullinstall_repo.rc != 0
|
changed_when: chk_clientpullinstall_repo.rc != 0
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
tags:
|
||||||
|
- git-daemon-update
|
||||||
|
|
||||||
- name: Aggiorno il repo se già esistente
|
- name: Aggiorno il repo se già esistente
|
||||||
shell: pushd /var/lib/git-daemon/repositories/client-pull-installation.git; git fetch -p origin; popd
|
shell: pushd /var/lib/git-daemon/repositories/client-pull-installation.git; git fetch -p origin; popd
|
||||||
@ -57,6 +59,8 @@
|
|||||||
state: touch
|
state: touch
|
||||||
sudo: yes
|
sudo: yes
|
||||||
sudo_user: git-daemon
|
sudo_user: git-daemon
|
||||||
|
tags:
|
||||||
|
- git-daemon-update
|
||||||
|
|
||||||
- name: Installo task di cron per aggiornamento repo
|
- name: Installo task di cron per aggiornamento repo
|
||||||
copy:
|
copy:
|
||||||
|
@ -15,16 +15,16 @@
|
|||||||
sudo: yes
|
sudo: yes
|
||||||
tags: ansible
|
tags: ansible
|
||||||
|
|
||||||
- name: Download della gestione client con ansible
|
#- name: Download della gestione client con ansible
|
||||||
git:
|
# git:
|
||||||
repo: "https://github.com/bglug-it/ps-clientmgmt.git"
|
# repo: "https://github.com/bglug-it/ps-clientmgmt.git"
|
||||||
dest: /home/amgmt/clientmgmt
|
# dest: /home/amgmt/clientmgmt
|
||||||
tags:
|
# tags:
|
||||||
- git
|
# - git
|
||||||
- ansible
|
# - ansible
|
||||||
|
#
|
||||||
- name: Attivo sotto modulo ansdyninv
|
#- name: Attivo sotto modulo ansdyninv
|
||||||
shell: cd /home/amgmt/clientmgmt/ansdyninv; git submodule init && git submodule update
|
# shell: cd /home/amgmt/clientmgmt/ansdyninv; git submodule init && git submodule update
|
||||||
tags:
|
# tags:
|
||||||
- git
|
# - git
|
||||||
- ansible
|
# - ansible
|
||||||
|
Loading…
x
Reference in New Issue
Block a user