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

fixed security group for mysql

parent 893ff104
No related branches found
No related tags found
1 merge request!293Ubuntu
......@@ -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