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
2023-06-14 02:39:36 +02:00
..
do1jlr.acmetool@25907677aa delete old sites 2022-11-03 21:25:19 +01:00
do1jlr.admin_base@7d430bec45 update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.ansible_version@2bf5d7c436 Upgrade 2023-01-05 22:48:45 +01:00
do1jlr.auth@1b60b7da3a update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.avahi_client@6ec6c6fccd update modules 2023-05-05 00:14:35 +02:00
do1jlr.base@b0c817c681 Rename git server 2023-06-14 02:39:36 +02:00
do1jlr.dotfiles@5cd1afc650 winkekatze 2022-10-25 00:20:17 +02:00
do1jlr.dovecot@07e9cc918f update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.etebase@231bbdcaa1 update etebase and gitea 2023-01-29 21:10:39 +01:00
do1jlr.mailserver_preperation@ff1fb3952f update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.nginx@e2e4a10595 Rename git server 2023-06-14 02:39:36 +02:00
do1jlr.ntp@ee881e6b0a Improve all and add see-base.de 2023-05-24 20:01:19 +02:00
do1jlr.ranger@ad75843636 prepare etebase 2022-11-11 00:39:06 +01:00
do1jlr.rspamd@8dcfbcbeea update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.rtl_nic_firmware@7b2d2adbb9 update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.sshd@15b7867a37 update submodules 2022-05-03 23:07:39 +02:00
do1jlr.unbound@2f26c3e27e submodules updated and branches specified 2022-12-08 01:56:37 +01:00
do1jlr.users@9203f239c6 update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.webhost@c8d0feb203 update some submodules 2021-05-10 23:08:09 +02:00
do1jlr.weechat@30c0110ed0 update modules 2023-03-09 21:46:40 +01:00
gantsign.bat@b263e5e140 update modules 2023-04-25 14:36:06 +02:00
geerlingguy.firewall@6a6d06020e update modules 2023-04-25 14:36:06 +02:00
geerlingguy.mysql@e1d4652a92 Rename git server 2023-06-14 02:39:36 +02:00
geerlingguy.postgresql@8861048695 update modules 2023-04-25 14:36:06 +02:00
mailserver_dovecot start creating postfix template 2021-01-10 04:43:05 +01:00
postfix@d104fdf714 update some submodules 2022-04-08 00:49:38 +02:00
robertdebock.dovecot@f1306ef674 Update submodules 2023-06-13 22:04:51 +02:00
robertdebock.fail2ban@3619bcf963 Update submodules 2023-06-13 22:04:51 +02:00
unattended_upgrades@ff35ee6e1c update submodules 2022-08-25 12:26:10 +02: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