generate readme automatically

This commit is contained in:
ipvsean
2020-03-04 16:17:26 -05:00
parent 7be8550cd6
commit 169832ad79
9 changed files with 140 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
---
- name: setup deploy application demo
hosts: localhost
gather_facts: false
connection: local
tasks:
- name: install demo
include_role:
name: "../roles/generate_readme"

View File

@@ -1,6 +1,7 @@
demos:
deploy_application:
name: "Deploy Application (survey)"
description: "install yum applications on Linux with a survey"
job_type: "run"
inventory: "Workshop Inventory"
project: "Ansible official demo project"
@@ -8,6 +9,7 @@ demos:
credential: "Workshop Credential"
survey_enabled: yes
survey_spec: "{{survey_deploy_application}}"
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"
@@ -19,6 +21,7 @@ demos:
- rhel
windows_iis:
name: "Windows IIS Server"
description: "install webserver on Windows Server with a survey"
job_type: "run"
inventory: "Workshop Inventory"
project: "Ansible official demo project"
@@ -35,6 +38,7 @@ demos:
- windows
openscap:
name: "Create Openscap Report"
description: "Create HTML report using SCAP Security Guide (SSG)"
job_type: "run"
inventory: "Workshop Inventory"
project: "Ansible official demo project"
@@ -52,6 +56,7 @@ demos:
- rhel
developer_report:
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"
project: "Ansible official demo project"

67
playbooks/test.md Normal file
View File

@@ -0,0 +1,67 @@
# Official Ansible Product Demos
this is currently under construction and working on a minimal viable demo for testing purposes
# How to use
## 1. Provide login information and choose demo
- Modify the `choose_demo.yml` file that is included in this repo with the username, password and IP address (or DNS name) of your Ansible Tower
- Choose the demo name you want from the table below (or choose `all`)
## 2. Run Ansible Playbook
```
ansible-playbook playbooks/install_demo.yml -e @choose_demo.yml
```
# Demo Repository
<table>
<tr>
<th>Demo Name</th>
<th>install_demo.yml value</th>
<th>Description</th>
<th>Video Walkthrough</th>
<th>Workshop Types</th>
</tr>
<tr>
<td>Windows IIS Server</td>
<td><pre>demo: windows_iis</pre></td>
<td>install webserver on Windows Server with a survey</td>
<td>Not available </td>
<td>- windows
</td>
</tr>
<tr>
<td>Create Developer Report</td>
<td><pre>demo: developer_report</pre></td>
<td>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></td>
<td>Not available </td>
<td>- f5
- rhel
</td>
</tr>
<tr>
<td>Deploy Application (survey)</td>
<td><pre>demo: deploy_application</pre></td>
<td>install yum applications on Linux with a survey</td>
<td><a href="https://www.youtube.com/watch?v=pU8ZgSBuEJw&list=PLdu06OJoEf2bp-PNtxPP_2n7Avkax8TED">Video Link</a></td>
<td>- f5
- rhel
</td>
</tr>
<tr>
<td>Create Openscap Report</td>
<td><pre>demo: openscap</pre></td>
<td>Create HTML report using SCAP Security Guide (SSG)</td>
<td>Not available </td>
<td>- f5
- rhel
</td>
</tr>
</table>
# Contribute
please refer to the [contribute.md](docs/contribute.md) documentation included in this collection.