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-04-12 17:13:05 +02:00
..
acmetool2@b988f6d863 update submodules 2021-02-06 23:41:53 +01:00
acmetool_fix@b12f4c970e update acmetool 2021-04-11 15:39:24 +02:00
base@57e8ebc397 update modules 2021-03-13 01:02:16 +01:00
bat@b7788a86e0 update gitea and bat 2021-04-11 15:33:21 +02:00
do1jlr.acmetool@9410be7620 Update gitea 2021-03-23 22:15:56 +01:00
do1jlr.ansible_version@0699f5e1e1 roles update 2021-03-12 20:44:38 +01:00
do1jlr.dovecot@54a488a82a update modules 2021-01-26 02:38:22 +01:00
do1jlr.mailserver_preperation@1e620725df change mailserver database creation 2021-01-31 03:41:57 +01:00
do1jlr.nginx@0144eb1c02 rename and adjust some roles, add new domain 2021-02-06 17:48:53 +01:00
do1jlr.rspamd@c31b677317 update modules 2021-01-26 02:38:22 +01:00
do1jlr.webhost@7a17d4cdf5 update submodules 2021-02-06 23:41:53 +01:00
dotfiles@d51c5a9230 update module 2021-01-26 20:11:08 +01:00
geerlingguy.firewall@3bba032ae4 update submodules 2021-03-15 20:20:24 +01:00
geerlingguy.mysql@86ffba892e update submodules 2021-03-15 20:20:24 +01:00
geerlingguy.postgresql@1932dbcae0 update submodules 2021-03-15 20:20:24 +01:00
gitea@bf3436501e update gitea 2021-04-12 17:13:05 +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@beaa66f2d2 update modules 2021-03-13 01:02:16 +01:00
robertdebock.dovecot@524b3b00b2 update fail2ban and stuff 2021-04-03 20:13:17 +02:00
robertdebock.fail2ban@47d63631e6 update fail2ban and stuff 2021-04-03 20:13:17 +02:00
ssh_auth@64255b152a update submodules 2021-03-15 20:20:24 +01:00
sshd@8f059787f9 Update roles 2021-04-12 01:01:56 +02:00
unattended_upgrades@38d05afe93 update submodules 2021-02-10 23:29:17 +01:00
unbound@1b66f791a5 update unbound 2021-03-13 22:37:22 +01:00
users@bc809a6c9c update fail2ban and stuff 2021-04-03 20:13:17 +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