Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions ansible/playbooks/infra-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@
network: "{{ (_result_network_external.networks | first).id }}"
interfaces:
- "{{ os_network_name }}-subnet"
- "{{ os_network_name }}-subnet-internal"
- net: "{{ os_network_name }}-internal"
subnet: "{{ os_network_name }}-subnet-internal"
portip: 192.168.0.1
# NOTE: When using MetalLB, we can not use a security group due to port security blocking address advertisements.
# See https://metallb.org/installation/clouds/#metallb-on-openstack for more.
# - name: Create (or update) a security group with security group rules
Expand Down Expand Up @@ -345,7 +347,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 +518,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