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
2022-04-26 21:04:03 +02:00
..
acmetool2@b988f6d863 update submodules 2021-02-06 23:41:53 +01:00
bat@f49dba9f44 Adding m2 domain preview 2022-04-26 21:04:03 +02:00
do1jlr.acmetool@e2ce11d77c update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.admin_base@7d430bec45 update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.ansible_version@ef4cf76379 Adding m2 domain preview 2022-04-26 21:04:03 +02:00
do1jlr.auth@1b60b7da3a update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.avahi_client@540c03e548 update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.base@00fa283495 update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.dovecot@07e9cc918f update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.gitea@1a2b80cb22 update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.mailserver_preperation@ff1fb3952f update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.mysql@32633db075 update web stuff 2021-10-05 01:15:15 +02:00
do1jlr.nginx@955cf7c6c8 Update submodules 2021-10-21 22:38:36 +02:00
do1jlr.ntp@4bf1dbdffe update some submodules 2022-04-08 00:49:38 +02: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@878f405dfc update some submodules 2022-04-08 00:49:38 +02:00
do1jlr.unbound@c6fdb998da update some submodules 2022-04-08 00:49:38 +02: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@bb32c056a3 update some submodules 2022-04-08 00:49:38 +02:00
dotfiles@5cd1afc650 Adding m2 domain preview 2022-04-26 21:04:03 +02:00
geerlingguy.firewall@495c8b368c update submodules 2022-01-09 20:15:08 +01:00
geerlingguy.postgresql@e7cd403506 update submodules 2022-03-16 00:10:34 +01:00
mailserver_dovecot start creating postfix template 2021-01-10 04:43:05 +01:00
nginx2@bb242391f2 update submodules 2021-02-25 00:38:11 +01:00
postfix@d104fdf714 update some submodules 2022-04-08 00:49:38 +02:00
ranger@46cfecf077 update some submodules 2022-04-08 00:49:38 +02:00
robertdebock.dovecot@5a3192e50c update submodules 2022-03-31 22:48:59 +02:00
robertdebock.fail2ban@18be9afb65 update submodules 2022-03-31 22:48:59 +02:00
unattended_upgrades@f9e09a3254 Update submodules 2021-10-21 22:38:36 +02: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