robertdebock.sosreport

Ansible Role sosreport

This guide helps you install, run, and collect sosreports from your systems.

GitHub GitLab Downloads Version
github gitlab downloads Version

Example Playbook

Here's a simple example from molecule/default/converge.yml that is tested whenever the code is updated.

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: robertdebock.sosreport

Make sure the machine is set up first. In Continuous Integration (CI), this is done with molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  become: true
  gather_facts: false
  serial: 30%

  roles:
    - role: robertdebock.bootstrap

For more details, see a full explanation and example on how to use these roles.

Role Variables

Default variable values are in defaults/main.yml:

---
# defaults file for sosreport

# Where to store the sosreport on the managed node
sosreport_remote_location: /tmp/sosreport

# Where to store the sosreport(s) on the controller
sosreport_local_location: /tmp/sosreports

Requirements

Used Roles

Some roles are needed to prepare a system. You can use other methods to prepare your system.

Requirement GitHub GitLab
robertdebock.bootstrap Build Status GitHub Build Status GitLab

Context

This role works with many other compatible roles. Check out the documentation for these roles for more information.

Here's a list of related roles: dependencies

Compatibility

This role has been tested with the following container images:

container tags
EL 9
Fedora all

You need at least Ansible version 2.12. Tests have been done on:

  • The previous version.
  • The current version.
  • The development version.

If you find issues, please report them on GitHub.

License

This project is licensed under the Apache-2.0.

Author Information

Created by robertdebock.

Consider sponsoring me.

Informazioni sul progetto

Install, run and collect sosreports from your systems.

Installa
ansible-galaxy install robertdebock.sosreport
Licenza
apache-2.0
Download
264
Proprietario
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.