mirror of
https://github.com/de-it-krachten/ansible-role-accounting
synced 2026-09-15 03:31:50 +00:00
No description
- Jinja 100%
|
|
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
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
- Ubuntu 26.04 LTS
- Fedora 43
- Fedora 441
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