No description
Find a file
semantic-release-bot 8845247247 chore(release): 1.2.0 [skip ci]
# [1.2.0](https://github.com/de-it-krachten/ansible-role-accounting/compare/v1.1.0...v1.2.0) (2026-03-15)

### Features

* Drop support for openSUSE Leap 15 ([e3dbe93](e3dbe9341e))
* Drop support for SUSE Linux Enterprise 15 ([6285339](6285339857))
2026-03-15 11:31:28 +00:00
.github/workflows Update supported platforms & CI[skip ci] 2026-03-15 12:25:44 +01:00
defaults feat: First release 2025-12-08 13:01:10 +01:00
meta Update CI 2026-03-14 19:03:48 +01:00
molecule/default Update supported platforms & CI[skip ci] 2026-03-15 12:25:44 +01:00
tasks feat: First release 2025-12-08 13:01:10 +01:00
.ansible-lint feat: First release 2025-12-08 13:01:10 +01:00
.cicd Update supported platforms & CI[skip ci] 2026-03-15 12:25:44 +01:00
.cicd.overwrite Update CI 2026-03-14 19:03:48 +01:00
.collections feat: First release 2025-12-08 13:01:10 +01:00
.gitignore feat: First release 2025-12-08 13:01:10 +01:00
.releaserc.yml feat: First release 2025-12-08 13:01:10 +01:00
.roles feat: First release 2025-12-08 13:01:10 +01:00
.yamllint feat: First release 2025-12-08 13:01:10 +01:00
CHANGELOG.md chore(release): 1.2.0 [skip ci] 2026-03-15 11:31:28 +00:00
README.md Update CI 2026-03-14 19:03:48 +01:00

CI

ansible-role-accounting

Setup process accounting

Dependencies

Roles

None

Collections

None

Platforms

Supported platforms

  • Red Hat Enterprise Linux 81
  • Red Hat Enterprise Linux 91
  • Red Hat Enterprise Linux 101
  • RockyLinux 8
  • RockyLinux 9
  • RockyLinux 10
  • OracleLinux 8
  • OracleLinux 9
  • OracleLinux 10
  • AlmaLinux 8
  • AlmaLinux 9
  • AlmaLinux 10
  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)
  • Debian 13 (Trixie)
  • Ubuntu 22.04 LTS
  • Ubuntu 24.04 LTS
  • Fedora 42
  • Fedora 43

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml



defaults/family-Debian.yml


# List of packages
accounting_packages:
  - acct

# Service to start
accounting_service: acct

# Accounting file
accounting_file: /var/log/account/pacct

defaults/family-RedHat.yml


# List of packages
accounting_packages:
  - psacct

# Service to start
accounting_service: psacct

# Accounting file
accounting_file: /var/account/pacct

defaults/family-Suse.yml


# List of packages
accounting_packages:
  - acct

# Service to start
accounting_service: acct

# Accounting file
accounting_file: /var/log/account/pacct

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'accounting'
  hosts: all
  become: 'yes'
  tasks:
    - name: Include role 'accounting'
      ansible.builtin.include_role:
        name: accounting