fixing insights ansible playbook
This commit is contained in:
BIN
ansible-product_demos-1.0.5.tar.gz
Normal file
BIN
ansible-product_demos-1.0.5.tar.gz
Normal file
Binary file not shown.
23
galaxy.yml
23
galaxy.yml
@@ -1,5 +1,5 @@
|
||||
---
|
||||
namespace: ipvsean
|
||||
namespace: ansible
|
||||
name: product_demos
|
||||
version: 1.0.5
|
||||
readme: README.md
|
||||
@@ -14,7 +14,26 @@ license:
|
||||
|
||||
license_file: 'LICENSE'
|
||||
|
||||
tags: []
|
||||
tags:
|
||||
- apache
|
||||
- centos
|
||||
- rhel
|
||||
- el
|
||||
- amazon
|
||||
- linux
|
||||
- fedora
|
||||
- network
|
||||
- f5
|
||||
- developer
|
||||
- infrastructure
|
||||
- security
|
||||
- windows
|
||||
- opencap
|
||||
- insights
|
||||
- patching
|
||||
- tower
|
||||
- awx
|
||||
|
||||
dependencies: {}
|
||||
|
||||
repository: http://github.com/ansible/product-demos
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,12 +1,13 @@
|
||||
---
|
||||
- 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 }}"
|
||||
tasks:
|
||||
- include_role:
|
||||
name: 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
|
||||
|
||||
Reference in New Issue
Block a user