Skip to content

Commit

Permalink
Merge pull request #1609 from cat-bro/fix_ssh_config_hosts
Browse files Browse the repository at this point in the history
fix ssh config hosts
  • Loading branch information
jlqfab authored Oct 30, 2023
2 parents 38a944b + 44c78dd commit 18c4e69
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion host_vars/galaxy-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ extra_keys:
# ssh config, only for ubuntu
ssh_config_id_file: "/home/{{ ssh_config_user }}/.ssh/internal_hop_key"
ssh_config_user: ubuntu
ssh_config_hosts: "{{ galaxy_group }}"
ssh_config_hosts: "{{ groups['galaxy_group'] }}"
2 changes: 1 addition & 1 deletion host_vars/galaxy-db.usegalaxy.org.au.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ postgresql_pg_hba_conf:
extra_keys:
- id: internal_hop_key
type: public
from: "{{ hostvars['galaxy']['internal_ip'] }},{{ hostvars['galaxy-backup']['internal_ip'] }}"
from: "{{ hostvars['galaxy']['internal_ip'] }},{{ hostvars['galaxy-backup']['internal_ip'] }},{{ hostvars['galaxy-handlers']['internal_ip'] }},{{ hostvars['galaxy-queue']['internal_ip'] }}"
2 changes: 1 addition & 1 deletion host_vars/galaxy-queue.usegalaxy.org.au.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,4 @@ extra_keys:
# ssh config, only for ubuntu
ssh_config_id_file: "/home/{{ ssh_config_user }}/.ssh/internal_hop_key"
ssh_config_user: ubuntu
ssh_config_hosts: "{{ galaxy_group }}"
ssh_config_hosts: "{{ groups['galaxy_group'] }}"
2 changes: 1 addition & 1 deletion host_vars/galaxy.usegalaxy.org.au.yml
Original file line number Diff line number Diff line change
Expand Up @@ -634,4 +634,4 @@ webhook_plugins:
# ssh config, only for ubuntu
ssh_config_id_file: "/home/{{ ssh_config_user }}/.ssh/internal_hop_key"
ssh_config_user: ubuntu
ssh_config_hosts: "{{ galaxy_group }}"
ssh_config_hosts: "{{ groups['galaxy_group'] }}"

0 comments on commit 18c4e69

Please sign in to comment.