syncing source to git
This commit is contained in:
37
roles/install_demo/vars/main/01_deploy_application.yml
Normal file
37
roles/install_demo/vars/main/01_deploy_application.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
deploy_application:
|
||||
author: "Sean Cavanaugh"
|
||||
category: infrastructure
|
||||
name: "Deploy Application (survey)"
|
||||
description: "install yum applications on Linux with a survey"
|
||||
job_type: "run"
|
||||
inventory: "Workshop Inventory"
|
||||
playbook: "playbooks/01_deploy_application.yml"
|
||||
credential: "Workshop Credential"
|
||||
survey_enabled: false
|
||||
survey_spec:
|
||||
name: Deploy application survey
|
||||
description: Which application do you want to install?
|
||||
spec:
|
||||
- type: multiplechoice
|
||||
question_name: Select a command you would like to execute
|
||||
question_description: select the application
|
||||
variable: application
|
||||
required: true
|
||||
default: httpd
|
||||
choices:
|
||||
- httpd
|
||||
- nginx
|
||||
- htop
|
||||
- gdb
|
||||
video: "https://www.youtube.com/watch?v=pU8ZgSBuEJw&list=PLdu06OJoEf2bp-PNtxPP_2n7Avkax8TED"
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
scm_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- f5
|
||||
- rhel
|
||||
- rhel_90
|
||||
29
roles/install_demo/vars/main/02_patching.yml
Normal file
29
roles/install_demo/vars/main/02_patching.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
patching:
|
||||
author: "Will Tome"
|
||||
category: infrastructure
|
||||
name: "SERVER / Patching"
|
||||
description: "patching for Linux servers"
|
||||
job_type: "run"
|
||||
inventory: "Workshop Inventory"
|
||||
playbook: "playbooks/02_patching.yml"
|
||||
credential: "Workshop Credential"
|
||||
survey_enabled: true
|
||||
survey_spec:
|
||||
name: ''
|
||||
description: ''
|
||||
spec:
|
||||
- question_name: 'Enter host to configure'
|
||||
type: text
|
||||
variable: HOSTS
|
||||
required: false
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
scm_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- f5
|
||||
- rhel
|
||||
- rhel_90
|
||||
57
roles/install_demo/vars/main/03_hardening.yml
Normal file
57
roles/install_demo/vars/main/03_hardening.yml
Normal file
@@ -0,0 +1,57 @@
|
||||
---
|
||||
hardening:
|
||||
author: "Will Tome"
|
||||
category: security
|
||||
name: "SERVER / Hardening"
|
||||
description: "hardening for Linux servers"
|
||||
job_type: "run"
|
||||
inventory: "Workshop Inventory"
|
||||
playbook: "playbooks/03_hardening.yml"
|
||||
credential: "Workshop Credential"
|
||||
survey_enabled: true
|
||||
survey_spec:
|
||||
name: ''
|
||||
description: ''
|
||||
spec:
|
||||
- question_name: 'Enter host to configure'
|
||||
type: text
|
||||
variable: HOSTS
|
||||
required: false
|
||||
- question_name: Configure Firewall?
|
||||
type: multiplechoice
|
||||
variable: harden_firewall
|
||||
required: false
|
||||
choices:
|
||||
- 'Yes'
|
||||
- 'No'
|
||||
- question_name: Configure Time?
|
||||
type: multiplechoice
|
||||
variable: harden_time
|
||||
required: false
|
||||
choices:
|
||||
- 'Yes'
|
||||
- 'No'
|
||||
- question_name: Harden SSH?
|
||||
type: multiplechoice
|
||||
variable: harden_ssh
|
||||
required: false
|
||||
choices:
|
||||
- 'Yes'
|
||||
- 'No'
|
||||
- question_name: PCI Baseline?
|
||||
type: multiplechoice
|
||||
variable: harden_pci
|
||||
required: false
|
||||
choices:
|
||||
- 'Yes'
|
||||
- 'No'
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
scm_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- f5
|
||||
- rhel
|
||||
- rhel_90
|
||||
23
roles/install_demo/vars/main/04_scan_facts.yml
Normal file
23
roles/install_demo/vars/main/04_scan_facts.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
fact_scan:
|
||||
author: "Will Tome"
|
||||
category: infrastructure
|
||||
name: "SERVER / Fact Scan"
|
||||
description: "scan facts for Linux and Windows systems"
|
||||
job_type: "run"
|
||||
inventory: "Workshop Inventory"
|
||||
playbook: scan_facts.yml
|
||||
credential: "Workshop Credential"
|
||||
survey_enabled: false
|
||||
fact_caching_enabled: true
|
||||
project:
|
||||
name: "Ansible official awx-facts-playbooks project"
|
||||
description: "playbooks to support fact scanning in Ansible Tower"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
scm_url: "https://github.com/ansible/awx-facts-playbooks.git"
|
||||
workshop_type:
|
||||
- f5
|
||||
- rhel
|
||||
- windows
|
||||
- rhel_90
|
||||
47
roles/install_demo/vars/main/05_grant_sudo.yml
Normal file
47
roles/install_demo/vars/main/05_grant_sudo.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
grant_sudo:
|
||||
author: "Will Tome"
|
||||
category: infrastructure
|
||||
name: "SERVER / Grant Sudo"
|
||||
description: "grant sudo privledges for specified time via survey"
|
||||
job_type: "run"
|
||||
inventory: "Workshop Inventory"
|
||||
playbook: playbooks/05_grant_sudo.yml
|
||||
credential: "Workshop Credential"
|
||||
survey_enabled: true
|
||||
survey_spec:
|
||||
name: ''
|
||||
description: ''
|
||||
spec:
|
||||
- question_name: 'Enter host to configure'
|
||||
type: text
|
||||
variable: HOSTS
|
||||
required: false
|
||||
- question_name: Username
|
||||
type: text
|
||||
variable: sudo_user
|
||||
required: true
|
||||
- question_name: Time
|
||||
type: integer
|
||||
variable: sudo_count
|
||||
required: true
|
||||
default: 10
|
||||
- question_name: Units
|
||||
type: multiplechoice
|
||||
variable: harden_ssh
|
||||
required: true
|
||||
choices:
|
||||
- 'minutes'
|
||||
- 'hours'
|
||||
- 'days'
|
||||
default: minutes
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
scm_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- f5
|
||||
- rhel
|
||||
- rhel_90
|
||||
29
roles/install_demo/vars/main/06_debug_info.yml
Normal file
29
roles/install_demo/vars/main/06_debug_info.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
debug_info:
|
||||
author: "Will Tome"
|
||||
category: infrastructure
|
||||
name: "SERVER / Gather Debug Info"
|
||||
description: "provide info for memory and CPU usage for specified systems"
|
||||
job_type: "run"
|
||||
inventory: "Workshop Inventory"
|
||||
playbook: playbooks/06_debug_info.yml
|
||||
credential: "Workshop Credential"
|
||||
survey_enabled: false
|
||||
survey_spec:
|
||||
name: ''
|
||||
description: ''
|
||||
spec:
|
||||
- question_name: 'Enter host to configure'
|
||||
type: text
|
||||
variable: HOSTS
|
||||
required: false
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
scm_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- f5
|
||||
- rhel
|
||||
- rhel_90
|
||||
29
roles/install_demo/vars/main/07_security_patching.yml
Normal file
29
roles/install_demo/vars/main/07_security_patching.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
security_patching:
|
||||
author: "Will Tome"
|
||||
category: infrastructure
|
||||
name: "SERVER / Security Patching"
|
||||
description: "upgrade all yum packages for security related except kernel"
|
||||
job_type: "run"
|
||||
inventory: "Workshop Inventory"
|
||||
playbook: playbooks/02_patching.yml
|
||||
credential: "Workshop Credential"
|
||||
survey_enabled: true
|
||||
survey_spec:
|
||||
name: ''
|
||||
description: ''
|
||||
spec:
|
||||
- question_name: 'Enter host to configure'
|
||||
type: text
|
||||
variable: HOSTS
|
||||
required: false
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
scm_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- f5
|
||||
- rhel
|
||||
- rhel_90
|
||||
21
roles/install_demo/vars/main/10_openscap.yml
Normal file
21
roles/install_demo/vars/main/10_openscap.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
openscap:
|
||||
author: "Sean Cavanaugh"
|
||||
category: security
|
||||
name: "Create Openscap Report"
|
||||
description: "Create HTML report using SCAP Security Guide (SSG)"
|
||||
job_type: "run"
|
||||
inventory: "Workshop Inventory"
|
||||
playbook: "playbooks/10_openscap.yml"
|
||||
credential: "Workshop Credential"
|
||||
survey_enabled: false
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
scm_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- f5
|
||||
- rhel
|
||||
- rhel_90
|
||||
23
roles/install_demo/vars/main/11_developer_report.yml
Normal file
23
roles/install_demo/vars/main/11_developer_report.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
developer_report:
|
||||
author: "Sean Cavanaugh"
|
||||
category: developer
|
||||
name: "Create Developer Report"
|
||||
description: >
|
||||
'Create HTML report using
|
||||
<a href="https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#variables-discovered-from-systems-facts">Ansible facts</a>'
|
||||
job_type: "run"
|
||||
inventory: "Workshop Inventory"
|
||||
playbook: "playbooks/11_developer_report.yml"
|
||||
credential: "Workshop Credential"
|
||||
survey_enabled: false
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
scm_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- f5
|
||||
- rhel
|
||||
- rhel_90
|
||||
83
roles/install_demo/vars/main/20_f5_bigip_workflow.yml
Normal file
83
roles/install_demo/vars/main/20_f5_bigip_workflow.yml
Normal file
@@ -0,0 +1,83 @@
|
||||
---
|
||||
f5_bigip_workflow:
|
||||
workflow: true
|
||||
author: 'Sean Cavanaugh'
|
||||
category: network
|
||||
name: 'WORKFLOW - F5 BIG-IP'
|
||||
description: 'Workflow for F5 BIG-IP to setup a VIP (Virtual IP) load balancer between two RHEL webservers'
|
||||
organization: 'Default'
|
||||
workshop_type:
|
||||
- f5
|
||||
schema:
|
||||
- job_template: 'F5 - add nodes'
|
||||
success:
|
||||
- job_template: 'F5 - add pool'
|
||||
success:
|
||||
- job_template: 'F5 - add pool members'
|
||||
success:
|
||||
- job_template: 'F5 - add virtual server'
|
||||
job_templates:
|
||||
f5_add_nodes:
|
||||
name: 'F5 - add nodes'
|
||||
description: 'add webserver nodes into F5 BIG-IP'
|
||||
job_type: 'run'
|
||||
inventory: 'Workshop Inventory'
|
||||
playbook: 'exercises/ansible_f5/1.2-add-node/bigip-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/ansible/workshops'
|
||||
workshop_type:
|
||||
- f5
|
||||
f5_add_pool:
|
||||
name: 'F5 - add pool'
|
||||
description: 'add webserver nodes into F5 BIG-IP'
|
||||
job_type: 'run'
|
||||
inventory: 'Workshop Inventory'
|
||||
playbook: 'exercises/ansible_f5/1.3-add-pool/bigip-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/ansible/workshops'
|
||||
workshop_type:
|
||||
- f5
|
||||
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
|
||||
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
|
||||
19
roles/install_demo/vars/main/30_windows_iss.yml
Normal file
19
roles/install_demo/vars/main/30_windows_iss.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
windows_iis:
|
||||
author: "Colin McNaughton"
|
||||
category: infrastructure
|
||||
name: "Windows IIS Server"
|
||||
description: "install webserver on Windows Server with a survey"
|
||||
job_type: "run"
|
||||
inventory: "Workshop Inventory"
|
||||
playbook: "playbooks/30_windows_iis.yml"
|
||||
credential: "Demo Credential"
|
||||
survey_enabled: false
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
scm_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- windows
|
||||
Reference in New Issue
Block a user