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
e97bae88
Commit
e97bae88
authored
Apr 23, 2020
by
matt01671
Browse files
Options
Downloads
Patches
Plain Diff
added proxy
parent
6d22972a
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/all-in-one.yaml
+1
-0
1 addition, 0 deletions
ansible/all-in-one.yaml
ansible/host_vars/nectar.yaml
+9
-9
9 additions, 9 deletions
ansible/host_vars/nectar.yaml
ansible/roles/openstack-proxy/tasks/main.yaml
+15
-0
15 additions, 0 deletions
ansible/roles/openstack-proxy/tasks/main.yaml
with
25 additions
and
9 deletions
ansible/all-in-one.yaml
+
1
−
0
View file @
e97bae88
...
...
@@ -8,6 +8,7 @@
-
role
:
openstack-volume
-
role
:
openstack-security-group
-
role
:
openstack-instance
-
role
:
openstacl-proxy
-
hosts
:
COMP90024
vars_files
:
...
...
This diff is collapsed.
Click to expand it.
ansible/host_vars/nectar.yaml
+
9
−
9
View file @
e97bae88
...
...
@@ -3,21 +3,21 @@ availability_zone: melbourne-qh2-uom
# Volume
volumes
:
-
vol_name
:
demo-03
-vol
-1
-
vol_name
:
harvester
-vol
ume
vol_size
:
10
-
vol_name
:
demo-03-vol-2
vol_size
:
10
# Security group
security_groups
:
-
name
:
demo_
ssh
description
:
"
Demo
s
ecurity
group
for
SSH
access"
-
name
:
ssh
description
:
"
S
ecurity
group
for
SSH
access"
protocol
:
tcp
port_range_min
:
22
port_range_max
:
22
remote_ip_prefix
:
0.0.0.0/0
-
name
:
demo_
http
description
:
"
Demo
s
ecurity
group
for
HTTP"
-
name
:
http
description
:
"
S
ecurity
group
for
HTTP"
protocol
:
tcp
port_range_min
:
80
port_range_max
:
80
...
...
@@ -25,9 +25,9 @@ security_groups:
# Instance
instances
:
-
name
:
demo-03
volumes
:
[
'
demo-03-vol-1'
,
'
demo-03
-vol
-2
'
]
-
name
:
harvester
volumes
:
[
'
harvester
-vol
ume
'
]
instance_image
:
45225edb-66d8-4fd0-bf41-132a31a18166
instance_key_name
:
id_alwyn
instance_flavor
:
uom.
general.1c4
g
instance_key_name
:
test-moh
instance_flavor
:
uom.
mse.2c9
g
This diff is collapsed.
Click to expand it.
ansible/roles/openstack-proxy/tasks/main.yaml
0 → 100644
+
15
−
0
View file @
e97bae88
---
-
name
:
Add proxy in /etc/environment
become
:
yes
blockinfile
:
path
:
/etc/environment
block
:
HTTP_PROXY=http://wwwproxy.unimelb.edu.au:8000/
HTTPS_PROXY=http://wwwproxy.unimelb.edu.au:8000/
http_proxy=http://wwwproxy.unimelb.edu.au:8000/
https_proxy=http://wwwproxy.unimelb.edu.au:8000/
no_proxy=localhost,127.0.0.1,localaddress,172.16.0.0/12,.melbourne.rc.nectar.org.au,.storage.unimelb.edu.au,.cloud.unimelb.edu.au
-
name
:
Reboot machine
become
:
yes
reboot
:
reboot_timeout
:
3000
\ 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