Skip to content

A collection of Ansible roles to manage systemd configurations.

License

Notifications You must be signed in to change notification settings

bodsch/ansible-collection-systemd

Repository files navigation

Ansible Collection - bodsch.systemd

Documentation for the collection.

Roles

Role Description
bodsch.systemd.coredump configure systemd-coredump
bodsch.systemd.homed configure systemd-homed
bodsch.systemd.journald configure systemd-journald
bodsch.systemd.oomd configure systemd-oomd
bodsch.systemd.logind configure systemd-logind
bodsch.systemd.networkd configure systemd-networkd
bodsch.systemd.resolved configure systemd-resolved
bodsch.systemd.system configure systemd-system
bodsch.systemd.timesyncd configure systemd-timesyncd
bodsch.systemd.user configure systemd-user

Included content

Modules

Name Description
journalctl Query the systemd journal with a very limited number of possible parameters

Installing this collection

You can install the memsource collection with the Ansible Galaxy CLI:

#> ansible-galaxy collection install bodsch.systemd

To install directly from GitHub:

#> ansible-galaxy collection install [email protected]:bodsch/ansible-collection-systemd.git

You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - name: bodsch.systemd

The python module dependencies are not installed by ansible-galaxy. They can be manually installed using pip:

#> pip install -r requirements.txt

Using this collection

You can either call modules by their Fully Qualified Collection Name (FQCN), such as bodsch.systemd.remove_ansible_backups, or you can call modules by their short name if you list the bodsch.systemd collection in the playbook's collections keyword:

---
- name: remove older ansible backup files
  bodsch.systemd.remove_ansible_backups:
    path: /etc
    holds: 4

Contribution

Please read Contribution

Development, Branches (Git Tags)

The master Branch is my Working Horse includes the "latest, hot shit" and can be complete broken!

If you want to use something stable, please use a Tagged Version!

Author

  • Bodo Schulz

License

Apache

FREE SOFTWARE, HELL YEAH!