Skip to content

Commit

Permalink
Post Software - Ansible Middleware
Browse files Browse the repository at this point in the history
Remove Bastion info as its not needed
  • Loading branch information
bbethell-1 authored Nov 28, 2022
1 parent 9879ed9 commit 8cd2f93
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions ansible/configs/ansible-middleware-workshop/post_software.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
agnosticd_user_info:
msg: "{{ item }}"
loop:
- "To access bastion via SSH:"
- "ssh {{ lab_user }}@bastion.{{ guid }}.{{ osp_cluster_dns_zone }}"
- "Enter ssh password when prompted: {{ hostvars['bastion']['student_password'] }}"
# - "To access bastion via SSH:"
# - "ssh {{ lab_user }}@bastion.{{ guid }}.{{ osp_cluster_dns_zone }}"
# - "Enter ssh password when prompted: {{ hostvars['bastion']['student_password'] }}"
- ""
- "frontend could be access via browser when ready:"
- "https://frontend.{{ guid }}.{{ osp_cluster_dns_zone }}"
Expand All @@ -45,8 +45,8 @@
- name: Save user data
agnosticd_user_info:
data:
ssh_command: "ssh {{ lab_user }}@bastion.{{ guid }}.{{ osp_cluster_dns_zone }}"
ssh_password: "{{ hostvars['bastion']['student_password'] }}"
# ssh_command: "ssh {{ lab_user }}@bastion.{{ guid }}.{{ osp_cluster_dns_zone }}"
# ssh_password: "{{ hostvars['bastion']['student_password'] }}"
frontend_url: "http://frontend.{{ guid }}.{{ osp_cluster_dns_zone }}"

- name: ec2 user.info
Expand All @@ -62,11 +62,11 @@
- "https://bastion.{{ guid }}{{ subdomain_base_suffix }}"
- "Enter default password {{ vscode_user_password }}"

- name: Save user data
agnosticd_user_info:
data:
ssh_command: "ssh {{ lab_user }}@bastion.{{ guid }}{{ subdomain_base_suffix }}"
ssh_password: "{{ hostvars[groups['bastions'][0]]['student_password'] }}"
#- name: Save user data
# agnosticd_user_info:
# data:
# ssh_command: "ssh {{ lab_user }}@bastion.{{ guid }}{{ subdomain_base_suffix }}"
# ssh_password: "{{ hostvars[groups['bastions'][0]]['student_password'] }}"


- name: PostSoftware flight-check
Expand Down

0 comments on commit 8cd2f93

Please sign in to comment.