Christoph Schug
49d4256a58
chore: consistently use Ansible FQCN in module calls
...
In order to adhere to Ansible best practices, always use Fully Qualified
Collection Names (FQCN) [1] when calling modules.
Other than that, this commit doesn't apply any further changes
except where needed as a module name has been updated.
The module `ansible.builtin.systemd` has been renamed to
`ansible.builtin.systemd_service` with `ansible.builtin.systemd` just
being an alias [2] for reasons of backward compatibility.
[1] https://docs.ansible.com/ansible/latest/tips_tricks/ansible_tips_tricks.html#use-fully-qualified-collection-names
[2] https://docs.ansible.com/ansible/latest/collections/ansible/builtin/systemd_service_module.html#synopsis
2024-02-24 11:56:25 +01:00
Christian Lempa
d24dfac89f
Merge branch 'main' into fix_issue_137
2024-02-23 11:26:23 +01:00
Christian Lempa
78b4a3a6dd
rename file
2024-02-23 11:25:26 +01:00
Christian Lempa
32ffb5db59
Merge pull request #143 from cschug/fix_final_newline
...
fix: add final newline character to text files
2024-02-23 11:19:25 +01:00
Christoph Schug
65b172436f
fix: enforce output of df to be single-lined per file system
...
This change forces `df(1)` to output each file system on a single
line by setting the `-P` flag (POSIX output format). Without it,
some versions of `df(1)` split the output into multiple lines if the
length of some fields like "Filesystem" exceeds a certain limit. As a
consequence, the `awk(1)` expression might fail to catch the correct
fields.
Please note that this fixes a file which is also wrongly named, which is
being addressed in PR #151 .
Relates to PR #151 .
Fixes issue #137 .
2024-02-23 00:20:34 +01:00
Christoph Schug
3f4672e97c
fix: fix file names
...
- Ansible playbooks should have an `.yaml` file extension
- all files related to installation should be consistently prefixed
wth `inst-`
2024-02-22 23:45:19 +01:00
Christoph Schug
8a17193dd0
fix: add final newline character to text files
...
This makes text files compliant to POSIX which requires every line of a
text file to end with a newline character [1][2].
[1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_403
[2] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
2024-02-22 19:06:54 +01:00
Christian Lempa
c25d9a2fcd
ansiblesemaphore-udpate
2023-05-25 13:48:38 +02:00