Slavi Pantaleev
04c6c11561
Install ntpd/systemd-timesync via com.devture.ansible.role.timesync
pirms 3 gadiem
Slavi Pantaleev
410a915a8a
Move roles/matrix* to roles/custom/matrix*
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:
- https://github.com/spantaleev/gitea-docker-ansible-deploy
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy
In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:
- https://github.com/devture/com.devture.ansible.role.postgres
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base
- https://github.com/devture/com.devture.ansible.role.timesync
- https://github.com/devture/com.devture.ansible.role.vars_preserver
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages
- https://github.com/devture/com.devture.ansible.role.playbook_help
We just need to migrate to those.
pirms 3 gadiem
Slavi Pantaleev
211ff20891
Fix package-latest ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#package-latest
pirms 3 gadiem
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
pirms 3 gadiem
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
pirms 3 gadiem
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
pirms 3 gadiem
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
pirms 4 gadiem
Slavi Pantaleev
4e4fb98a65
Do not install fuse unless necessary
Discussed here: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1510
pirms 4 gadiem
Dan Arnfield
df82ec13b2
docker-ce is now available for Debian Bullseye
pirms 4 gadiem
Michael Collins
98e6cd685d
sync with previous repo
pirms 4 gadiem
Peetz0r
e0e459ac0c
Fixed missing quotes
pirms 5 gadiem
Peetz0r
473936065d
Use Debian Buster Docker repo on Debian Bullseye
Future maintainer: check on https://docs.docker.com/engine/install/debian/ if Docker for
Debian 11 is released, then undo this commit
pirms 5 gadiem
Slavi Pantaleev
f545de53f7
Do not hardcode "ubuntu" for the Docker APT key URL
Well, `ubuntu` or `debian`, the same key is served right now,
so it doesn't really matter.
This seems cleaner and less prone to breakage though.
pirms 5 gadiem
Slavi Pantaleev
55f252a6ed
Do not hardcode amd64 in setup_debian.yml
Until now, we've only supported non-amd64 on Raspbian.
Seems like there are now people running Debian/Ubuntu on ARM,
so we were forcing them into amd64 Docker packages.
I've gotten a report that this change fixes support
for Ubuntu Server 20.04 on RPi 4B.
pirms 5 gadiem
vractal
9b61fef271
Replace gpg dependency for gnupg for better debian compatibility
pirms 5 gadiem
hungrymonkey
d093b9b148
Added gpg as base dependency for Debian 10
AWS Debian marketplace image does not have gpg preinstalled
https://aws.amazon.com/marketplace/pp/B0859NK4HC?ref=cns_srchrow
TASK [matrix-base : Ensure Docker's APT key is trusted] *******************************************************************************************************************************************************
fatal: [matrix.domain.com]: FAILED! => {"changed": false, "msg": "Failed to find required executable gpg in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}
Closes #590
pirms 5 gadiem
Slavi Pantaleev
9a43cc02e0
Only install docker-python if matrix_docker_installation_enabled
Should help with #300 (Github Issue).
pirms 5 gadiem
Alin Trăistaru
604e581a97
add ntpd defaults
pirms 6 gadiem
Slavi Pantaleev
26b73e3a4b
Do not install unnecessary bash-completion
pirms 6 gadiem
dhose
320d512541
Fix for when if case evaluates to false
pirms 6 gadiem
Dan Arnfield
bc620895ca
Install python3-docker if ansible is running python 3
pirms 6 gadiem
Slavi Pantaleev
f348370f15
Remove unnecessary update_cache directive / Debian
We've just updated it in the task above, so it's unnecessary
pirms 6 gadiem
Dan Arnfield
960088752c
Add matrix_docker_package_name
pirms 6 gadiem
Dan Arnfield
80cfb2a93e
Add matrix_docker_installation_enabled
pirms 6 gadiem
Dan Arnfield
3cec6947ed
Refactor base server setup tasks
pirms 6 gadiem