From 99f7ea0996a0cf0cd9c1411034599ab6b5f467c1 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 19 Jan 2020 13:41:09 +0100 Subject: [PATCH] migration pi2 to oscar --- defaults/main.yml | 2 +- tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 62c08e5..71f73b1 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -9,6 +9,6 @@ venv_name: "{{name}}" backendfolder: backend exec_user: 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 chainetv_repo_branch: master \ No newline at end of file diff --git a/tasks/main.yml b/tasks/main.yml index cb86576..9c38fba 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -8,7 +8,7 @@ - name: install source file if not exist 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). - 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 version: "{{chainetv_repo_branch}}" when: location_stat.stat.exists == false or force_site_update == true