Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updatd to 3.3, added port 443 in firewall loadbalancer, chnaged inven…
…tory file to autodeploy metrics and logging, removed metric and logging from playbook
- Loading branch information
Ivan Mc Kinley
committed
Oct 27, 2016
1 parent
a40352d
commit 2197042
Showing
13 changed files
with
163 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
group_vars/all | ||
playbooks/inventory | ||
ansible-azure.iml | ||
.idea/ | ||
*.retry | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
|
||
|
||
|
||
[azure_vms] | ||
[azure_vms2] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[all:vars] | ||
adminUsername=ivan | ||
publicjumpip=13.94.154.186 | ||
publicjumpdns=master-osems3124.westeurope.cloudapp.azure.com | ||
routerpublicip=13.94.210.29 | ||
publicjumpip=13.94.154.186 | ||
[azure_vms] | ||
13.94.154.186 | ||
|
||
[gatewayed-masters] | ||
[masters] | ||
master1 | ||
master3 | ||
master2 | ||
[gatewayed-nodes] | ||
## nodes | ||
node1 | ||
## infra | ||
infranode1 | ||
## nodes | ||
master1 | ||
master3 | ||
master2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- hosts: localhost | ||
connection: localhost | ||
roles: | ||
- { role: generateinventory } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- name: Create Inventory file based on dynamic hosts | ||
template: | ||
src: inventory.j2 | ||
dest: ./inventory | ||
tags: ose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[all:vars] | ||
publicjumpip: {{ publicjumpip }} | ||
publicjumpdns: {{ publicjumpdns }} | ||
routerpublicip: {{ routerpublicip }} | ||
publicjumpip: {{ publicjumpip }} | ||
[azure_vms] | ||
${{ publicjumpip }} | ||
|
||
[gatewayed-masters] | ||
[masters] | ||
{% for key, value in masters.iteritems() %} | ||
{{ value.name }} | ||
{% endfor %} | ||
[gatewayed-nodes] | ||
## nodes | ||
{% for key, value in nodes.iteritems() %} | ||
{{ value.name }} | ||
{% endfor %} | ||
## infra | ||
{% for key, value in infranodes.iteritems() %} | ||
{{ value.name }} | ||
{% endfor %} | ||
## nodes | ||
{% for key, value in masters.iteritems() %} | ||
{{ value.name }} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.