Ansible & Docker Swarm deployment files for the Rusty Bever server swarm.
 
 
 
Go to file
Jef Roosens 9f520126f6
Swarm setup doesn't require root
2021-12-13 11:59:34 +01:00
roles Swarm setup doesn't require root 2021-12-13 11:59:34 +01:00
.gitignore Swarm setup doesn't require root 2021-12-13 11:59:34 +01:00
README.md Idem 2021-12-11 16:34:57 +01:00
Vagrantfile first part of config 2021-12-11 16:28:17 +01:00
bootstrap.yml first part of config 2021-12-11 16:28:17 +01:00
hosts.template.ini first part of config 2021-12-11 16:28:17 +01:00
main.yml Swarm setup doesn't require root 2021-12-13 11:59:34 +01:00
update.yml first part of config 2021-12-11 16:28:17 +01:00
vagrant.hosts.ini Added portainer & traefik 2021-12-11 16:59:48 +01:00

README.md

Ansible Debian

This repository contains all the Ansible playbooks & roles I use to manage my various Debian-based servers & Docker swarms.

Playbooks

  • bootstrap.yml: handles first-time configuration of a server. This is the only playbook that expects you should run as your root user. It creates a non-root user that can use sudo, & secures the SSH configuration. Afterwards, you should edit your hosts file to reflect the changes.
  • update.yml: update your servers. When a new Debian version is released, the sources.list file can be changed. Afterwards, your servers will automatically update to this new version when this playbook is ran.
  • main.yml: This is the playbook that you can run multiple times without issues. It sets up the Docker swarm, network settings, etc.