-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from cidrblock/test_ansible
Test ansible
- Loading branch information
Showing
24 changed files
with
460 additions
and
95 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
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 @@ | ||
application_name: td4a |
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 @@ | ||
manufacturer: quagga |
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 @@ | ||
manufacturer: whitebox |
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,29 @@ | ||
ansible_ssh_pass: "{{ lookup('env', 'ANSIBLE_PASSWORD') }}" | ||
|
||
interfaces: | ||
Ethernet4/10: | ||
description: siteassw100-g0/1-siteasrt001-eth4/10 | ||
name: Ethernet4/10 | ||
shutdown: | ||
negate: true | ||
switchport: | ||
mode: | ||
- trunk | ||
switchport: true | ||
Ethernet4/11: | ||
channel_group: | ||
id: 31 | ||
mode: active | ||
description: unity1interface1 | ||
mtu: 9216 | ||
name: Ethernet4/11 | ||
shutdown: | ||
negate: true | ||
switchport: | ||
mode: | ||
- trunk | ||
switchport: true | ||
trunk: | ||
allowed_vlans: | ||
vlans: 3605,3607 | ||
native_vlan: 5 |
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,61 @@ | ||
--- | ||
# defaults file for ansible-apache2 | ||
|
||
# Defines if Apache2 should be configured | ||
apache2_config: false | ||
|
||
# Defines if php.ini should be configured for Apache2 | ||
apache2_config_php: false | ||
|
||
# Defines if Apache2 virtual hosts should be configured | ||
apache2_config_virtual_hosts: true | ||
|
||
# Defines Apache2 default listen port | ||
apache2_default_port: 80 | ||
|
||
# Defines if php-sqlite should be installed | ||
apache2_install_php_sqlite: false | ||
|
||
# Defines if php should be installed | ||
apache2_install_php: false | ||
|
||
apache2_php_max_execution_time: 30 | ||
|
||
apache2_php_max_input_time: 60 | ||
|
||
# Defines max memory for Apache php | ||
# default is 128M | ||
apache2_php_max_memory: 128M | ||
|
||
apache2_php_post_max_size: 8M | ||
|
||
apache2_php_timezone: "UTC" | ||
|
||
apache2_php_upload_max_filesize: 2M | ||
|
||
apache2_server_admin: webmaster@localhost | ||
|
||
# Define Apache2 virtual hosts | ||
apache2_virtual_hosts: | ||
- documentroot: '/var/www/example.com' | ||
default_site: false | ||
port: 80 | ||
serveradmin: '{{ apache2_server_admin }}' | ||
servername: 'www.example.com' | ||
- documentroot: '/var/www/example.org' | ||
default_site: false | ||
port: 80 | ||
serveradmin: '{{ apache2_server_admin }}' | ||
servername: 'www.example.org' | ||
- documentroot: '/var/www/html' | ||
default_site: true | ||
port: 80 | ||
serveradmin: '{{ apache2_server_admin }}' | ||
servername: '' | ||
|
||
apache2_web_root: /var/www/html | ||
apache2_log_dir: /var/log/apache | ||
|
||
testVar: testing | ||
|
||
anotherTestVar: "{{ testVar }}" |
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,24 @@ | ||
a: "{{ b }}" | ||
b: | ||
c: this | ||
d: that | ||
|
||
foo: "{{ bar }}" | ||
bar: | ||
- 1 | ||
- 2 | ||
- 3 | ||
|
||
ansible_ssh_pass: "{{ lookup('env', 'FOO') }}" | ||
cisco_xr_cli: | ||
username: "{{ ansible_ssh_user }}" | ||
|
||
|
||
y: "{{ z }}" | ||
z: | ||
aa: | ||
bb: | ||
cc: | ||
dd: dd | ||
|
||
f: "{{ bar + bar }}" |
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,9 @@ | ||
router[00:03] | ||
server[00:03] | ||
test[00:03] | ||
|
||
[routers] | ||
router[00:03] | ||
|
||
[servers] | ||
server[00:03] |
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,2 +1,2 @@ | ||
FROM cidrblock/td4a:latest | ||
FROM cidrblock/td4a:1.6 | ||
EXPOSE 5000 |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ Flask==0.12.2 | |
netaddr==0.7.19 | ||
Twisted==17.9.0 | ||
requests==2.18.4 | ||
ruamel.yaml==0.15.34 | ||
ruamel.yaml==0.15.35 |
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
Oops, something went wrong.