W3cubDocs

/Ansible

sensu.sensu_go.install – Enable Sensu Go repos and install selected packages

Note

This role is part of the sensu.sensu_go collection (version 1.12.0).

To install it use: ansible-galaxy collection install sensu.sensu_go.

To use it in a playbook, specify: sensu.sensu_go.install.

Entry point main – Enable Sensu Go repos and install selected packages

Synopsis

  • The main entry point just combines the repositories and packages entry points.

Parameters

Parameter Choices/Defaults Comments
build
string
Default:
"latest"
Package build to install.
Can be any valid build string such as 8290 or a special value latest.
If the version variable is set to latest, this variable is ignored and the latest available build is installed.
channel
string
Default:
"stable"
Repository channel that serves as a source of packages.
Visit the packagecloud site to find all available channels.
components
list / elements=string
    Choices:
  • sensu-go-backend
  • sensu-go-agent
  • sensu-go-cli
Default:
["sensu-go-backend", "sensu-go-agent", "sensu-go-cli"]
List of components to install.
version
string
Default:
"latest"
Package version to install.
Can be any valid version string such as 6.2.5 or special value latest.

Entry point packages – Install selected Sensu Go packages

Synopsis

  • Make sure selected packages are installed.
  • By default, the role will install latest available package version. This will change in the next major version of the collection where the version will become a required variable.

Parameters

Parameter Choices/Defaults Comments
build
string
Default:
"latest"
Package build to install.
Can be any valid build string such as 8290 or a special value latest.
If the version variable is set to latest, this variable is ignored and the latest available build is installed.
components
list / elements=string
    Choices:
  • sensu-go-backend
  • sensu-go-agent
  • sensu-go-cli
Default:
["sensu-go-backend", "sensu-go-agent", "sensu-go-cli"]
List of components to install.
version
string
Default:
"latest"
Package version to install.
Can be any valid version string such as 6.2.5 or special value latest.

Entry point repositories – Enable Sensu Go repos

Synopsis

  • Install required repository files on supported distributions.
  • This entry point does not work on Windows because there is no concept of repository there.

Parameters

Parameter Choices/Defaults Comments
channel
string
Default:
"stable"
Repository channel that serves as a source of packages.
Visit the packagecloud site to find all available channels.

© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/sensu/sensu_go/install_role.html