cleaned up demo_choose files

This commit is contained in:
David Rojas
2020-11-01 10:00:19 -08:00
parent 604bf9488e
commit 62b20861d6
5 changed files with 14 additions and 140 deletions

View File

@@ -3,16 +3,16 @@
## chose specific demo or choose all
# SPECIFIC - example that installs just the deploy_application job template
demo: f5_new_node
demo: developer_report
# ALL - example that installs all demos
# demo: all
## Ansible Tower login infomation
my_tower_username: admin
my_tower_password: k8Eqnhe1Hn3tLw
my_tower_host: student1.4908.open.redhat.com
workshop_type: f5
my_tower_username: colin
my_tower_password: mahalo
my_tower_host: test.rhdemo.io
workshop_type: rhel
# leave as false unless you are deploying an Azure Demo
azure_demo: False

View File

@@ -3,24 +3,25 @@
## chose specific demo or choose all
# SPECIFIC - example that installs just the deploy_application job template
demo: azure_mysql_server
demo: azure_provision_vm
# ALL - example that installs all demos
# demo: all
## Ansible Tower login infomation
my_tower_username: student1
my_tower_password: eP9JZG7LdeMU84
my_tower_host: student1.be66.open.redhat.com
my_tower_username: drojas
my_tower_password: zapata
my_tower_host: test.rhdemo.io
workshop_type: windows
# leave as false unless you are deploying an Azure Demo
azure_demo: True
#only uncomment these and supply values for setting up an Azure Cloud Demo which means azure_demo: True above
my_subscription: bb66f723-9eb9-405b-8063-2e722a5a5a45
my_tenant: bbe51e50-8759-4cc0-93f7-71985d8dbddf
my_client: 7e7d5fd3-c84b-4f37-ae96-cf474f4aa573
my_secret: K1S5~EqpmvG68iKw4w-b1hmn3~yROfHM_I
my_subscription: bb66f723-9eb9-405b-7889-2e722a5a5a45
my_tenant: bbe51e50-8759-5cc6-93f7-71985d8dbddf
my_client: 7e7d5fd3-c84b-b64c-ae96-cf474f4aa573
my_secret: K1S5~EqpmvG68i8ni9-b1hmn3~yROfHM_I

View File

@@ -1,19 +0,0 @@
---
- name: BIG-IP SETUP
hosts: lb
connection: local
gather_facts: false
tasks:
- name: CREATE POOL
bigip_pool:
provider:
server: "{{private_ip}}"
user: "{{ansible_user}}"
password: "{{ansible_ssh_pass}}"
server_port: 8443
validate_certs: false
name: "http_pool"
lb_method: "round-robin"
monitors: "/Common/http"
monitor_type: "and_list"

View File

@@ -1,18 +0,0 @@
---
- name: BIG-IP SETUP
hosts: lb
connection: local
gather_facts: false
tasks:
- name: CREATE NODES
bigip_node:
provider:
server: "{{private_ip}}"
user: "{{ansible_user}}"
password: "{{ansible_ssh_pass}}"
server_port: 8443
validate_certs: false
host: "{{hostvars[item].ansible_host}}"
name: "{{hostvars[item].inventory_hostname}}"
loop: "{{ groups['web'] }}"

View File

@@ -1,90 +0,0 @@
---
f5_demo:
author: "David Rojas"
readme: "https://github.com/ansible/product-demos/blob/master/docs/infrastructure/chocolatey_app_install.md"
category: network
job_templates:
f5_new_nodes:
name: 'F5 - add nodes'
description: 'add webserver nodes into F5 BIG-IP'
job_type: 'run'
inventory: 'Workshop Inventory'
playbook: '/playbooks/network/f5_new_node.yml'
credential: 'Workshop Credential'
survey_enabled: false
project:
name: 'Ansible Workshops Project'
description: 'official workshops from Ansible'
organization: 'Default'
scm_type: git
scm_url: 'https://github.com/davidrojas25/product-demos'
workshop_type:
- f5
- demo
f5_add_pool:
name: 'F5 - add pool'
description: 'add webserver nodes into F5 BIG-IP'
job_type: 'run'
inventory: 'Workshop Inventory'
playbook: 'playbooks/network/f5_add_pool.yml'
credential: 'Workshop Credential'
survey_enabled: false
project:
name: 'Ansible Workshops Project'
description: 'official workshops from Ansible'
organization: 'Default'
scm_type: git
scm_url: 'https://github.com/davidrojas25/product-demos'
workshop_type:
- f5
- demo
f5_add_pool_members:
name: 'F5 - add pool members'
description: 'add webserver nodes into pool'
job_type: 'run'
inventory: 'Workshop Inventory'
playbook: 'exercises/ansible_f5/1.4-add-pool-members/bigip-pool-members.yml'
credential: 'Workshop Credential'
survey_enabled: false
project:
name: 'Ansible Workshops Project'
description: 'official workshops from Ansible'
organization: 'Default'
scm_type: git
scm_url: 'https://github.com/ansible/workshops'
workshop_type:
- f5
- demo
f5_add_vip:
name: 'F5 - add virtual server'
description: 'create VIP and add pool to virtual server'
job_type: 'run'
inventory: 'Workshop Inventory'
playbook: 'exercises/ansible_f5/1.5-add-virtual-server/bigip-virtual-server.yml'
credential: 'Workshop Credential'
survey_enabled: false
project:
name: 'Ansible Workshops Project'
description: 'official workshops from Ansible'
organization: 'Default'
scm_type: git
scm_url: 'https://github.com/ansible/workshops'
workshop_type:
- f5
- demo
name: "NETWORK / f5 New Node"
description: "Define multiple new nodes"
job_type: "run"
inventory: "Workshop Inventory"
playbook: "playbooks/network/f5_new_node.yml"
credential: "Workshop Credential"
survey_enabled: false
project:
name: "Ansible official demo project"
description: "prescriptive demos from Red Hat Management Business Unit"
organization: "Default"
scm_type: git
scm_url: "https://github.com/davidrojas25/product-demos"
workshop_type:
- f5
- demo