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-01-09 20:15:08 +01:00
..
acmetool2@b988f6d863 update submodules 2021-02-06 23:41:53 +01:00
bat@a92884cbb4 update submodules 2021-09-17 00:07:55 +02:00
do1jlr.acmetool@709c6f0fbe update submodules 2021-11-29 01:31:24 +01:00
do1jlr.admin_base@5ca07d6368 Update submodules 2021-09-20 22:40:33 +02:00
do1jlr.ansible_version@176a2b0799 update submodules 2021-10-06 21:38:20 +02:00
do1jlr.auth@64f9bea51e Update submodules 2021-09-20 22:40:33 +02: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@9864d2fce8 update modules 2021-11-05 00:47:03 +01:00
do1jlr.gitea@ee9e215c87 update submodules 2022-01-09 20:15:08 +01:00
do1jlr.mailserver_preperation@897c9a5599 update some submodules 2021-05-10 23:08:09 +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@fd3a35c225 Update NTP role 2021-09-27 00:47:39 +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.sshd@1d7448d086 update role names 2021-09-19 23:29:34 +02:00
do1jlr.unbound@b2a6da9fe5 update submodules and unbound 2021-09-30 00:51:43 +02:00
do1jlr.users@6936d67ce7 Update submodules 2021-09-20 22:40:33 +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@f510b669e4 update modules 2021-11-09 14:47:14 +01:00
geerlingguy.firewall@495c8b368c update submodules 2022-01-09 20:15:08 +01:00
geerlingguy.postgresql@09e68e645b update submodules 2022-01-09 20:15: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@1f2c51ccef update submodules and unbound 2021-09-30 00:51:43 +02:00
robertdebock.dovecot@99e4b3e1bd update submodules 2022-01-09 20:15:08 +01:00
robertdebock.fail2ban@23d70dab9d update submodules 2022-01-09 20:15:08 +01: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