Skip to content

Commit

Permalink
Updated ssh config to use more than /24 network
Browse files Browse the repository at this point in the history
Signed-off-by: jorge-perez <[email protected]>
  • Loading branch information
japerezjr authored and cloudnull committed Jan 26, 2024
1 parent f111884 commit ef9f590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/playbooks/infra-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
- name: Create ssh-config
ansible.builtin.copy:
content: |
Host 172.31.0.*
Host 172.31.*
ProxyJump {{ bastion_ip }}
User {{ os_bastion_user }}
IdentityFile {{ lookup('env', 'HOME') }}/.ssh/{{ os_keypair_name }}.key
Expand Down Expand Up @@ -516,7 +516,7 @@
- name: Copy ssh-config to jump host
ansible.builtin.copy:
content: |
Host 172.31.0.*
Host 172.31.*
User {{ os_bastion_user }}
Host *
IdentityFile /home/{{ os_bastion_user }}/.ssh/{{ ansible_ssh_private_key_file | basename }}
Expand Down

0 comments on commit ef9f590

Please sign in to comment.