Commit Graph

27 Commits

Author SHA1 Message Date
Christoph Schug
17601ec532 feat: use the community.general.discord Ansible module
This should provide a more robust solution for sending notifications to
Discord rather than using plain `ansible.builtin.uri` for that task.

Additionally add some comments which should hopefully give better
guidance what to do.

Fixes #82.
2024-02-25 19:25:03 +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
cdbd9d60a1
Merge pull request #92 from gabegon8910/main
2 new ansible scripts
2023-09-12 11:09:09 +02:00
Christian Lempa
5d5dcdf2ac link update 2023-09-12 11:08:06 +02:00
Christian Lempa
6ab41e340b readme updates 2023-09-12 11:06:06 +02:00
NethunRanasinghe
c42461184a Install K8s 2023-09-06 15:17:48 +05:30
Gabe
3d93d27b28 Added a ansible scripts to install qemu-agent and a script to update linux based on package manager apt or yum 2023-07-13 09:45:28 -04:00
Christian Lempa
128adf9ce3 removed old docker installation, added new one for ubuntu 2023-06-24 18:50:41 +02:00
Ahmed Elzagh
a5378bc268 Refactor user permissions task to use Ansible user module 2023-06-15 22:08:16 +03:00
Christian Lempa
c25d9a2fcd ansiblesemaphore-udpate 2023-05-25 13:48:38 +02:00
Christian Lempa
c09a4fce47 delete readmes 2022-11-17 09:40:38 +01:00
Christian Lempa
9d44fabd64 docker fixes and nextcloud update 2022-11-16 17:09:17 +01:00
Christian Lempa
626cf6d47f ansible new structure 2022-09-04 09:35:11 +02:00
sh3b0
cf0ba18092 Update install-docker.yaml 2022-06-16 03:47:52 +03:00
sh3b0
1e9999fe5c Update install-docker.yaml 2022-06-16 03:40:46 +03:00
Ahmed Nouralla
6bbd357570
Update install-docker.yaml
Use ansible_env fact instead of lookup plugin as it queries controller instead of remote
2022-06-16 03:03:36 +03:00
Christian
356872bbc5 portainer and traefik ansible playbooks 2022-03-11 16:53:17 +01:00
Christian
cb98a83a49
Merge pull request #25 from agrestic1/patch-2
Rename sshd-default.conf to debian-sshd-default.conf
2022-01-21 09:31:33 +01:00
agrestic1
e86f43085c
Rename sshd-default.conf to debian-sshd-default.conf
as referred in protect-sshd.yaml
2022-01-20 14:03:27 +01:00
agrestic1
847f5c0c0e
container_name -> name
container_name is not supportet by ansible module community.docker.docker_volume anymore. Changed to name
2022-01-20 10:13:13 +01:00
xcad2k
af765e7b93 monitoring 2021-09-17 14:12:39 +02:00
xcad2k
0ea81cf7c2 initial deployment 2021-06-11 15:01:45 +02:00