Skip to content
Snippets Groups Projects
Commit c5ae1958 authored by Jafar Lie's avatar Jafar Lie
Browse files

fixed security group for mysql

Former-commit-id: e659bf8c
parent adc064ce
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,8 @@ resources:
name: "heatmysqlsecgroup"
rules: [ { protocol: tcp,
port_range_min: 3306,
port_range_max: 3306} ]
port_range_max: 3306,
remote_security_group: MySQLSecGroup} ]
SSHMonashSecGroup:
type: "OS::Neutron::SecurityGroup"
properties:
......@@ -227,7 +228,7 @@ resources:
flavor: m3.small
image: { get_param: ubuntu_1804_image_id }
key_name: { get_param: ssh_key }
security_groups: [ { get_resource: SSHMonashSecGroup }, { get_resource: SlurmSecGroup }, { get_resource: MySQLSecGroup }, { get_resource: NFSSecGroup } ]
security_groups: [ default, { get_resource: SSHMonashSecGroup }, { get_resource: SlurmSecGroup }, { get_resource: MySQLSecGroup }, { get_resource: NFSSecGroup } ]
metadata:
ansible_host_groups: [ SQLNodes, NFSNodes ]
ansible_ssh_user: ubuntu
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment