Skip to content

Commit 43194a9

Browse files
author
Alan Christie
committed
- A fix for latest deployment
Using wrong login URL
1 parent 7d8ef16 commit 43194a9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

openshift/ansible/group_vars/all.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
oc_user: "{{ ansible_env.OC_USER }}"
44
oc_user_password: "{{ ansible_env.OC_USER_PASSWORD }}"
5+
oc_master_url: "{{ ansible_env.OC_MASTER_URL }}"
56
oc_master_hostname: "{{ ansible_env.OC_MASTER_HOSTNAME }}"
67
oc_project: "{{ ansible_env.OC_PROJECT }}"
78
oc_project_sa: "{{ ansible_env.OC_PROJECT_SA }}"

openshift/ansible/roles/pipelines/tasks/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# before deploying a new one (and waiting for completion).
66

77
- name: Login (user)
8-
shell: oc login {{ oc_master_hostname }} -u {{ oc_user }} -p {{ oc_user_password }}
8+
shell: oc login {{ oc_master_url }} -u {{ oc_user }} -p {{ oc_user_password }}
99
changed_when: False
1010

1111
- name: Move to Squonk Project

0 commit comments

Comments
 (0)