new demo with insights

This commit is contained in:
ipvsean
2020-04-22 15:00:32 -04:00
parent 118065a4e6
commit 9e44fdc6c1
4 changed files with 49 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
---
namespace: ipvsean
name: product_demos
version: 1.0.4
version: 1.0.5
readme: README.md
authors:

14
playbooks/08_insights.yml Normal file
View File

@@ -0,0 +1,14 @@
---
- name: install and configure insights agent on all specified nodes
hosts: "{{ HOSTS | default('web') }}"
roles:
- role: RedHatInsights.insights-client
vars:
redhat_portal_username: "{{ insights_user }}"
redhat_portal_password: "{{ insights_password }}"
insights_display_name: "{{ inventory_hostname }}"
when: ansible_os_family == 'RedHat'
- name: print info to terminal window
debug:
msg: "Red Hat Insights is installed and configured for {{ inventory_hostname }}"

View File

@@ -0,0 +1,33 @@
---
insights:
author: "Sean Cavanaugh"
category: infrastructure
name: "SERVER / Red Hat Insights"
description: "install and configure Red Hat Insights"
job_type: "run"
inventory: "Workshop Inventory"
playbook: playbooks/08_insights.yml
credential: "Workshop Credential"
survey_enabled: true
survey_spec:
name: ''
description: ''
spec:
- question_name: 'Enter your Red Hat customer portal username'
type: text
variable: redhat_portal_username
required: true
- question_name: 'Enter your Red Hat customer portal passowrd'
type: password
variable: redhat_portal_password
required: true
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

View File

@@ -4,3 +4,4 @@
- src: redhatofficial.rhel8_pci_dss
- src: linux-system-roles.firewall
- src: linux-system-roles.timesync
- src: RedHatInsights.insights-client