Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
comp90023-assignment-2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Matthew O'Halloran
comp90023-assignment-2
Commits
3d0db32e
Commit
3d0db32e
authored
May 1, 2020
by
matt01671
Browse files
Options
Downloads
Patches
Plain Diff
clean:
parent
e9a1f72c
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
ansible/host_vars/nectar.yaml
+1
-1
1 addition, 1 deletion
ansible/host_vars/nectar.yaml
ansible/test.sh
+0
-3
0 additions, 3 deletions
ansible/test.sh
ansible/test.yaml
+0
-45
0 additions, 45 deletions
ansible/test.yaml
with
1 addition
and
49 deletions
ansible/host_vars/nectar.yaml
+
1
−
1
View file @
3d0db32e
...
@@ -4,7 +4,7 @@ availability_zone: melbourne-qh2-uom
...
@@ -4,7 +4,7 @@ availability_zone: melbourne-qh2-uom
# Volume
# Volume
volumes
:
volumes
:
-
vol_name
:
dbvolume1
-
vol_name
:
dbvolume1
vol_size
:
10
vol_size
:
10
#CHANGE TO HIGHER WHEN READY FOR COLLECTING
-
vol_name
:
dbvolume2
-
vol_name
:
dbvolume2
vol_size
:
10
vol_size
:
10
-
vol_name
:
dbvolume3
-
vol_name
:
dbvolume3
...
...
This diff is collapsed.
Click to expand it.
ansible/test.sh
deleted
100755 → 0
+
0
−
3
View file @
e9a1f72c
#!/usr/bin/env bash
.
./unimelb-comp90024-2020-grp-62-openrc.sh
;
ansible-playbook
--ask-become-pass
test.yaml
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ansible/test.yaml
deleted
100644 → 0
+
0
−
45
View file @
e9a1f72c
-
hosts
:
localhost
vars
:
sg_name
:
question_1
sg_description
:
"
Question
1"
sg_protocol
:
tcp
sg_port_min
:
3306
sg_port_max
:
3306
sg_remote_group
:
'
{{
sg_name
}}'
instance_names
:
-
name
:
demo-01
-
name
:
demo-02
instance_image
:
45225edb-66d8-4fd0-bf41-132a31a18166
instance_key_name
:
test-moh
instance_flavor
:
uom.mse.2c9g
instance_az
:
melbourne-qh2-uom
tasks
:
-
name
:
Create a security group
os_security_group
:
name
:
'
{{
sg_name
}}'
description
:
'
{{
sg_description
}}'
state
:
present
-
name
:
Create security group rules
os_security_group_rule
:
security_group
:
'
{{
sg_name
}}'
protocol
:
'
{{
sg_protocol
}}'
port_range_min
:
'
{{
sg_port_min
}}'
port_range_max
:
'
{{
sg_port_max
}}'
remote_group
:
'
{{
sg_remote_group
}}'
state
:
present
-
name
:
Add security group to instance
os_server
:
name
:
'
{{
item.name
}}'
image
:
'
{{
instance_image
}}'
key_name
:
'
{{
instance_key_name
}}'
flavor
:
'
{{
instance_flavor
}}'
availability_zone
:
'
{{
instance_az
}}'
security_groups
:
-
'
{{
sg_name
}}'
-
demo_ssh-adv
timeout
:
600
state
:
present
loop
:
'
{{
instance_names
}}'
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment