Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dreknix/ansible-role-systemd
Ansible role for systemd
https://github.com/dreknix/ansible-role-systemd
ansible ansible-role systemd
Last synced: 10 days ago
JSON representation
Ansible role for systemd
- Host: GitHub
- URL: https://github.com/dreknix/ansible-role-systemd
- Owner: dreknix
- License: mit
- Created: 2022-08-10T08:14:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-04T10:52:54.000Z (10 months ago)
- Last Synced: 2024-04-04T11:48:20.297Z (10 months ago)
- Topics: ansible, ansible-role, systemd
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role - systemd
Ansible role for systemd
## Install role via `roles/requirements.yml`
### Read-Only copy
Configure the role as read-only copy:
```yml
---
# systemd
- src: https://github.com/dreknix/ansible-role-systemd.git
scm: git
version: main
name: systemd
...
```Install the role:
```console
$ ansible-galaxy role install --force -r roles/requirements.yml
```### Working copy
Configure the role as a working copy:
```yml
---
# systemd
- src: [email protected]:dreknix/ansible-role-systemd.git
scm: git
version: main
name: systemd
...
```Install the working copy:
```console
$ ansible-galaxy role install --force --keep-scm-meta -r roles/requirements.yml
```## Using in a Playbook
This role is only used for reloading the systemd daemon. A task calls the
handler via `notify: systemd_reload_systemd`.## License
[MIT](https://github.com/dreknix/ansible-role-systemd/blob/main/LICENSE)