Skip to content

Commit

Permalink
Merge pull request #25 from cisco-open/fix_updating_nsg
Browse files Browse the repository at this point in the history
fix updating NSG for cluster setup
  • Loading branch information
przsus authored Oct 23, 2024
2 parents 964ce8b + 55cdef4 commit 9a25696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/aws_controllers/tasks/aws_vmanage_ec2_instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
- name: Update security group rules to handle cluster traffic
ansible.builtin.set_fact:
vmanage_interfaces: "{{ sg_rules + [{'proto': 'all', 'cidr_ip': vmanage_cluster_private_ip + '/32', 'rule_desc': hostname + ' - cluster (VPN 0)'}] }}"
when: cluster_private_ip is defined
when: vmanage_cluster_private_ip is defined

- name: Configure security group
amazon.aws.ec2_security_group:
Expand Down

0 comments on commit 9a25696

Please sign in to comment.