new demo with insights
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
namespace: ipvsean
|
namespace: ipvsean
|
||||||
name: product_demos
|
name: product_demos
|
||||||
version: 1.0.4
|
version: 1.0.5
|
||||||
readme: README.md
|
readme: README.md
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
|
|||||||
14
playbooks/08_insights.yml
Normal file
14
playbooks/08_insights.yml
Normal 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 }}"
|
||||||
33
roles/install_demo/vars/main/08_insights.yml
Normal file
33
roles/install_demo/vars/main/08_insights.yml
Normal 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
|
||||||
@@ -4,3 +4,4 @@
|
|||||||
- src: redhatofficial.rhel8_pci_dss
|
- src: redhatofficial.rhel8_pci_dss
|
||||||
- src: linux-system-roles.firewall
|
- src: linux-system-roles.firewall
|
||||||
- src: linux-system-roles.timesync
|
- src: linux-system-roles.timesync
|
||||||
|
- src: RedHatInsights.insights-client
|
||||||
|
|||||||
Reference in New Issue
Block a user