Using Red Hat Insights with SQL Server

[root@rhel75_tower ~]# yum install insights-client
[root@rhel75_tower ~]# insights-client — register
You successfully registered somenumber to account xxxxx.
Successfully registered host rhel75_tower.localdomain
Automatic scheduling for Insights has been enabled.
Starting to collect Insights data for rhel75_tower.localdomain
Uploading Insights data.
Successfully uploaded report from rhel75_tower.localdomain to account xxxxxx.
Red Hat Insights Console
- name: Update ownership of/var/opt/mssql to mssql:mssql
hosts: "rhel75_tower.localdomain"
become: yes
tasks:
- name: Update ownership of /var/opt/mssql
file:
path: /var/opt/mssql
owner: mssql
group: mssql
recurse: yes
- name: run insights
hosts: "rhel75_tower.localdomain"
become: True
gather_facts: False
tasks:
- name: run insights
command: insights-client
changed_when: false
[root@rhel75_tower fix]# ansible-playbook  -connection=local  ansible-sqlserver.yml
[WARNING]: provided hosts list is empty, only localhost is available. Note
that the implicit localhost does not match 'all'
PLAY [Update ownership of/var/opt/mssql to mssql:mssql] ************************TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [Update ownership of /var/opt/mssql] **************************************
ok: [localhost]
PLAY [run insights] ************************************************************TASK [run insights] ************************************************************ok: [localhost]PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=0

--

--

Solution Architect , Author , An introvert by nature extrovert by profession , Always Learning , Always Listening. Hopefully helping

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store