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-09-18 18:54:34 +02:00
..
acmetool2@b988f6d863 update submodules 2021-02-06 23:41:53 +01:00
acmetool_fix@e57fac3faf update submodules 2021-07-25 01:31:09 +02:00
bat@a92884cbb4 update submodules 2021-09-17 00:07:55 +02:00
do1jlr.acmetool@9ea537d4fd update acmetool 2021-08-12 00:04:04 +02:00
do1jlr.ansible_version@0699f5e1e1 roles update 2021-03-12 20:44:38 +01:00
do1jlr.avahi_client@4c67ceabec update submodules 2021-09-17 00:07:55 +02:00
do1jlr.base@fffcf41b3c update submodules 2021-09-17 00:07:55 +02:00
do1jlr.dovecot@62eebeb5d6 update some submodules 2021-05-10 23:08:09 +02:00
do1jlr.gitea@d231b1c8c7 update submodules 2021-09-17 00:07:55 +02:00
do1jlr.mailserver_preperation@897c9a5599 update some submodules 2021-05-10 23:08:09 +02:00
do1jlr.mysql@38d943f1bb update mysql role 2021-09-18 18:54:34 +02:00
do1jlr.nginx@6adbdcc21f update some submodules 2021-05-10 23:08:09 +02:00
do1jlr.ovh_dyndns@c334d86448 try ovh... failing 2021-08-13 01:46:22 +02:00
do1jlr.rspamd@a2d91b6240 update some submodules 2021-05-10 23:08:09 +02:00
do1jlr.rtl_nic_firmware@c4716f6043 improve mdns options 2021-09-17 00:02:30 +02:00
do1jlr.webhost@c8d0feb203 update some submodules 2021-05-10 23:08:09 +02:00
do1jlr.weechat@fe655fbf3c update submodule 2021-08-21 23:05:00 +02:00
dotfiles@32fa7ebbc1 update submodules 2021-06-20 23:47:13 +02:00
geerlingguy.firewall@727e3dae18 Update submodule 2021-08-31 22:55:25 +02:00
geerlingguy.postgresql@07e5687bb4 Update submodule 2021-08-31 22:55:25 +02: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@bb242391f2 update submodules 2021-02-25 00:38:11 +01:00
postfix@e8ee3dccbd update postfix 2021-01-26 02:31:54 +01:00
ranger@05703421ea ranger 2021-05-25 21:27:56 +02:00
robertdebock.dovecot@8c83c3673f update submodules 2021-09-17 00:07:55 +02:00
robertdebock.fail2ban@e908489476 update submodules 2021-09-17 00:07:55 +02:00
ssh_auth@9ef038cb3d update meta 2021-05-10 23:20:40 +02:00
sshd@4b5b730019 update 2021-07-16 01:26:14 +02:00
unattended_upgrades@d3eeca8580 update submodules 2021-05-05 22:37:44 +02:00
unbound@a94935f080 update gitea an adding luna 2021-07-19 01:41:38 +02:00
users@26fc63d949 update meta 2021-05-10 23:20:40 +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