GithubHelp home page GithubHelp logo

kryndex / ansible-redhat-access-insights-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redhataccess/ansible-redhat-access-insights-client

0.0 2.0 0.0 8 KB

Ansible role that installs, configures, and registers to the Red Hat Access Insights Service

ansible-redhat-access-insights-client's Introduction

redhat-access-insights-client

Installs, configures, and registers a system to the Red Hat Insights service. This role is intended to work on RHEL 6 or RHEL 7, though it will generally work on any yum based system that has access to the redhat-access-insights RPM.

Requirements

N/A

Role Variables

  • insights_display_name:

    Sets or resets the Display Name/System Name within Insights. Insights needs an easily identifiable name for each system. If no explicit display name is given to a system, Insights uses it's hostname. If a system's hostname is not easily identifiable, like "localhost" or "d4098731408", you can give it a better name by setting 'insights_display_name'

    If undefined (not set at all), this role will not make changes to a system's display name.

    If defined (set) to be the empty string, this role will remove any previously set display name for the system, and cause it to use the systems hostname as it's Display name/System name.

    If defined to be a non-empty string, this role will replace any previously set display name for the system with the given string.

Dependencies

N/A

Example Playbook

- hosts: all
  roles:
  - { role: redhataccess.redhat-access-insights-client, when: ansible_os_family == 'RedHat' }

If a system's hostname is not easily identifieable, but inventory_hostname is, set insights_display_name set to be inventory_hostname:

- hosts: all
  roles:
  - role: redhataccess.redhat-access-insights-client
    insights_display_name: "{{ inventory_hostname }}"
    when: ansible_os_family == 'RedHat'

Example Use

  1. On a system where Ansible is installed, run the following command:

    $ ansible-galaxy install redhataccess.redhat-access-insights-client
  2. Copy the Example Playbook to a file named 'install-insights.yml'.

  3. Run the command, replacing 'myhost.example.com' with the name of the system where you want to install the insights client.

    $ ansible-playbook --limit=myhost.example.com install-insights.yml

License and Author

See GitHub source repo

ansible-redhat-access-insights-client's People

Contributors

gavin-romig-koch avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.