Skip to content

Commit

Permalink
Merge pull request #1076 from proditis/master
Browse files Browse the repository at this point in the history
dont force repository use on db
  • Loading branch information
proditis authored Dec 8, 2023
2 parents f5ba69f + 511ef7c commit 4169abc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ansible/runonce/db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
prompt: "6/7. What is the internal VPN IP?"
default: "10.7.0.254"
private: no
- name: "GITHUB_REPO"
prompt: "7/7. Provide a github repo to clone?"
default: "{{ lookup('pipe', 'git remote get-url origin') }}"
private: no
# - name: "GITHUB_REPO"
# prompt: "7/7. Provide a github repo to clone?"
# default: "{{ lookup('pipe', 'git remote get-url origin') }}"
# private: no
vars:
mysql_users:
- { name: participantUI, password: 'participantUI', host: '{{pui_ip}}' }
Expand Down Expand Up @@ -236,7 +236,7 @@
with_items: "{{rcctl}}"

- name: Clone sources repo
when: ansible_connection != 'local'
when: ansible_connection != 'local' and GITHUB_REPO is defined
git:
repo: "{{GITHUB_REPO}}"
dest: "{{APP_DIR}}"
Expand Down

0 comments on commit 4169abc

Please sign in to comment.