reverting b/c symbolic link doesn't work :-|
This commit is contained in:
15
playbooks/infrastructure/insights.yml
Normal file
15
playbooks/infrastructure/insights.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: install and configure insights agent on all specified nodes
|
||||
hosts: "{{ HOSTS | default('web') }}"
|
||||
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
|
||||
debug:
|
||||
msg: "Red Hat Insights is installed and configured for {{ inventory_hostname }}"
|
||||
Reference in New Issue
Block a user