mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
.. | ||
acmetool2@06f6215431 | ||
acmetool_fix@1341f221ac | ||
base@fe3bbb29ce | ||
bat@430331438f | ||
do1jlr.ansible_version@1a1ee05ad9 | ||
do1jlr.dovecot@7977c749ea | ||
do1jlr.mailserver_preperation@8e8441a576 | ||
do1jlr.rspamd@698ab80d8b | ||
dotfiles@1d17b45e95 | ||
geerlingguy.firewall@adb052a450 | ||
geerlingguy.mysql@4940d8cd41 | ||
geerlingguy.postgresql@1f873d304b | ||
gitea@aa75493677 | ||
goaccess@34e8c31bad | ||
mailserver_dovecot | ||
nginx2@f14aad6fc0 | ||
postfix@ebba251b6b | ||
ranger@a97cf9b55b | ||
robertdebock.dovecot@f4f66b0ead | ||
robertdebock.fail2ban@deff0c0264 | ||
ssh_auth@bf16a2583f | ||
sshd@8d5e1f32ba | ||
unbound@8ce3f04925 | ||
users@3dc308270b | ||
webhost2@7a7a04e45d | ||
README.md |
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