1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00
ansible_playbook_servers/roles
2021-02-06 23:41:53 +01:00
..
acmetool2@b988f6d863 update submodules 2021-02-06 23:41:53 +01:00
acmetool_fix@aca6297cf4 rename and adjust some roles, add new domain 2021-02-06 17:48:53 +01:00
base@fe3bbb29ce update submodules 2021-01-18 22:55:15 +01:00
bat@430331438f define webserver 2020-12-13 00:10:12 +01:00
do1jlr.acmetool@b988f6d863 update submodules 2021-02-06 23:41:53 +01:00
do1jlr.ansible_version@1a1ee05ad9 update yamllint and modules 2021-01-20 22:54:29 +01:00
do1jlr.dovecot@54a488a82a update modules 2021-01-26 02:38:22 +01:00
do1jlr.mailserver_preperation@1e620725df change mailserver database creation 2021-01-31 03:41:57 +01:00
do1jlr.nginx@0144eb1c02 rename and adjust some roles, add new domain 2021-02-06 17:48:53 +01:00
do1jlr.rspamd@c31b677317 update modules 2021-01-26 02:38:22 +01:00
do1jlr.webhost@7a17d4cdf5 update submodules 2021-02-06 23:41:53 +01:00
dotfiles@d51c5a9230 update module 2021-01-26 20:11:08 +01:00
geerlingguy.firewall@adb052a450 Add fail2ban and firewall 2020-12-31 20:29:38 +01:00
geerlingguy.mysql@4940d8cd41 enable ansible vault 2021-01-02 22:37:59 +01:00
geerlingguy.postgresql@1f873d304b initialize backwesen.de 2021-01-04 18:01:23 +01:00
gitea@67afb71160 update gitea 2021-01-28 23:50:22 +01:00
goaccess@34e8c31bad update yamllint improvements 2021-01-19 20:16:08 +01:00
mailserver_dovecot start creating postfix template 2021-01-10 04:43:05 +01:00
nginx2@f14aad6fc0 Update nginx and add dhparam 2020-12-31 19:43:02 +01:00
postfix@e8ee3dccbd update postfix 2021-01-26 02:31:54 +01:00
radicale@dbdeb94e93 update submodule 2021-02-03 01:20:22 +01:00
ranger@a97cf9b55b Initial commit 2020-12-12 23:42:36 +01:00
robertdebock.dovecot@f4f66b0ead update submodules 2021-01-18 22:55:15 +01:00
robertdebock.fail2ban@deff0c0264 update submodules 2021-01-18 22:55:15 +01:00
ssh_auth@bf16a2583f update module and ansible config 2020-12-23 17:09:14 +01:00
sshd@8d5e1f32ba Enable versionscheck by default 2021-01-06 11:25:36 +01:00
unattended_upgrades@9960a79ce0 update 2021-01-27 00:53:40 +01:00
unbound@8ce3f04925 update unbound 2021-01-19 01:09:42 +01:00
users@3dc308270b update sshd 2020-12-20 22:33:01 +01:00
webhost2@7a17d4cdf5 update submodules 2021-02-06 23:41:53 +01:00
README.md Initial commit 2020-12-12 23:42:36 +01:00

Subfolders to include ansible roles.

All roles should be included in this subfolder. This is usually done as git submodule.

The most common command needed for this is:

git submodule add <public_path_to_gitrepo.git> <submodule_destination>

A simple way to checkk out the latest commit at the main branch for all submodules is:

git submodule foreach "(git checkout $(git symbolic-ref --short refs/remotes/origin/HEAD | sed "s@^origin/@@"); git pull)"

In abstract terms, the easiest way to do this is to treat submodules like normal git repositories after you have cloned them. This means checking out the main branch, committing things and similar actions. And when the local changes to submodule git repo are complete, add the new commit hash of submodule indein main git repo by adding, committing and pushing the entire submodule like an updated file.

Further information is also available at git-scm.com/docs/git-submodule