migration pi2 to oscar

This commit is contained in:
vincent 2020-01-19 13:41:09 +01:00
parent 036b6cc9ee
commit 99f7ea0996
2 changed files with 2 additions and 2 deletions

View File

@ -9,6 +9,6 @@ venv_name: "{{name}}"
backendfolder: backend backendfolder: backend
exec_user: root exec_user: root
exec_group: root exec_group: root
repo: gitea@pi2:vincent/chainetv_web.git chainetv_repo: gitea@git.{{ domain.name }}:vincent/chainetv_web.git
force_site_update: false force_site_update: false
chainetv_repo_branch: master chainetv_repo_branch: master

View File

@ -8,7 +8,7 @@
- name: install source file if not exist - name: install source file if not exist
git: git:
dest: "/tmp/{{name}}" # required. The path of where the repository should be checked out. This parameter is required, unless C(clone) is set to C(no). dest: "/tmp/{{name}}" # required. The path of where the repository should be checked out. This parameter is required, unless C(clone) is set to C(no).
repo: "{{repo}}" # required. git, SSH, or HTTP(S) protocol address of the git repository. repo: "{{chainetv_repo}}" # required. git, SSH, or HTTP(S) protocol address of the git repository.
clone: yes # not required. If C(no), do not clone the repository if it does not exist locally clone: yes # not required. If C(no), do not clone the repository if it does not exist locally
version: "{{chainetv_repo_branch}}" version: "{{chainetv_repo_branch}}"
when: location_stat.stat.exists == false or force_site_update == true when: location_stat.stat.exists == false or force_site_update == true