buluma.sosreport

Ansible Role: sosreport

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

GitHub Version Issues Pull Requests Downloads
github Version Issues Pull Requests Ansible Role

Example Playbook

Here’s a simple example you can use, taken from molecule/default/converge.yml. It has been tested every time changes are made.

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

  roles:
    - role: buluma.sosreport

Preparing the Machine

Before using the sosreport role, you need to prepare the machine. In CI, this is done with molecule/default/prepare.yml:

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

  roles:
    - role: buluma.bootstrap

You can find a full explanation and another example on how to use these roles.

Role Variables

Default values for role variables are set in defaults/main.yml:

---
# Default settings for sosreport

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

# Location to store the sosreports on the controller.
sosreport_local_location: /tmp/sosreports

Requirements

State of Used Roles

These roles are required to prepare a system, but you can prepare it however you prefer.

Requirement GitHub Version
buluma.bootstrap Ansible Molecule Version

Context

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

Compatibility

This role has been tested on these container images:

Container Tags
EL 8
Fedora all

The minimum Ansible version required is 2.12, and tests have been conducted on previous, current, and development versions.

If you encounter any issues, please report them on GitHub.

Changelog

Check the Role History.

License

This role is licensed under Apache-2.0.

Author Information

Created by Shadow Walker.

Informazioni sul progetto

Install, run and collect sosreports from your systems.

Installa
ansible-galaxy install buluma.sosreport
Licenza
apache-2.0
Download
2.9k
Proprietario
DevOps Engineer