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

Note

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

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

Comments

build

string

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.

Default: “latest”

channel

string

Repository channel that serves as a source of packages.

Visit the packagecloud site to find all available channels.

Default: “stable”

components

list / elements=string

List of components to install.

Choices:

  • sensu-go-backend ← (default)

  • sensu-go-agent ← (default)

  • sensu-go-cli ← (default)

Default: [“sensu-go-backend”, “sensu-go-agent”, “sensu-go-cli”]

version

string

Package version to install.

Can be any valid version string such as 6.2.5 or special value latest.

Default: “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

Comments

build

string

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.

Default: “latest”

components

list / elements=string

List of components to install.

Choices:

  • sensu-go-backend ← (default)

  • sensu-go-agent ← (default)

  • sensu-go-cli ← (default)

Default: [“sensu-go-backend”, “sensu-go-agent”, “sensu-go-cli”]

version

string

Package version to install.

Can be any valid version string such as 6.2.5 or special value latest.

Default: “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

Comments

channel

string

Repository channel that serves as a source of packages.

Visit the packagecloud site to find all available channels.

Default: “stable”