Tip

Check out the repository on GitHub

Installation

Ansible

See the documentation on how to install Ansible.

Dependencies

Systemd must be installed and running on the target system.

Collection

# stable version:
ansible-galaxy collection install ansibleguy.systemd

# latest version:
ansible-galaxy collection install git+https://github.com/ansibleguy/collection_systemd.git

# install to specific directory for easier development
cd $PLAYBOOK_DIR
ansible-galaxy collection install git+https://github.com/ansibleguy/collection_systemd.git -p ./collections