ansible.traefik
ansible-role-docker
ansible.traefik | ansible-role-docker | |
---|---|---|
1 | 12 | |
11 | 1,712 | |
- | - | |
0.0 | 5.5 | |
about 2 years ago | 5 days ago | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ansible.traefik
-
Docker Swarm is still Relevant for Small Self-hosted Projects -Experiment with Vagrant and Ansible
################################################# # OR INFRA Role: Docker Swarm Manager # Source: # https://github.com/arillso/ansible.traefik # https://geek-cookbook.funkypenguin.co.nz/ha-docker-swarm/traefik/ ################################################# --- ### # GENERAL Setup ### ### # SWARM Setup ### - name: Init a new swarm with default parameters docker_swarm: state: present advertise_addr: "{{ ansible_host }}" register: result when: inventory_hostname == groups[swarm_managers_inventory_group_name][0] # only on the first manager ### # Manager Setup ### - name: Get join-token for manager nodes set_fact: join_token_manager: "{{ hostvars[groups[swarm_managers_inventory_group_name][0]].result.swarm_facts.JoinTokens.Manager }}" - name: Join other managers docker_swarm: state: join join_token: "{{ join_token_manager }}" advertise_addr: "{{ ansible_host }}" remote_addrs: "{{ groups[swarm_managers_inventory_group_name] | map('extract', hostvars, ['ansible_host']) | join(',') }}" when: inventory_hostname != groups[swarm_managers_inventory_group_name] # exclude the first manager
ansible-role-docker
-
Is it still considered a good approach to utilize the "not equal" operator for conditional checks?
In this case, yeah sure, go ahead. Looks fine. But is the package really not available at all or rather called differently? (from my perspective packages named equally across a wide range of distros / package managers aren't to common) In the later case you would / could load a var file with a variable which contains distro-specific package names for Redhat and just reference the variable in your install task. (see for example https://github.com/geerlingguy/ansible-role-docker/blob/master/tasks/main.yml#L2 and https://github.com/geerlingguy/ansible-role-docker/tree/master/vars)
-
ELI5: How to take care of prompts in Ansible Playbook
To install docker, there's multiple examples to find, I'd start with this role : https://github.com/geerlingguy/ansible-role-docker
-
Qiestion.
You might want to check out https://github.com/geerlingguy/ansible-role-docker
-
My Docker installation in Ubuntu task
before writing a playbook, check for an existing role to do the work for you
- Docker Swarm is still Relevant for Small Self-hosted Projects -Experiment with Vagrant and Ansible
-
Docker & Docker-compose installation with ansible playbook doesn't work
This might not be the answer you're looking for, but geerlingguy.docker is pretty good
-
The burden of an Open Source maintainer
I mark bugs, security-related issues, and planned features with appropriate labels, and the stale bot ignores those: https://github.com/geerlingguy/ansible-role-docker/blob/mast...
Not all maintainers do the same. And some even _lock issues_, which I hate, because even closed issues can have a very fruitful discussion long after the issue was originally posted.
-
How To Install Docker Using Ansible
As a teaching example, installing your own docker this way might be good.But it would be better to install using a role. One you design yourself, or even better use an existing role like geerlingguy.docker.
-
Self hosted kubernetes
I use ansible to setup the docker VMs after provisioning (https://github.com/geerlingguy/ansible-role-docker)
-
Raspberry Pi Zero 2 powers the Null 2 RetroPie gaming handheld
PS. As a slight sidenote, I just wanted to thank you for your (many!) Ansible roles - today I was able to run Docker in Ansible in my side project because of your docker ansible role to investigate Opensearch. Just wanted to say thanks you very much
What are some alternatives?
ansible-docker-swarm - Initialize Docker Swarm with Ansible
graylog - Free and open log management
ansible-dockerswarm - Docker Engine clustering using "Swarm Mode" and Ansible
infra-bootstrap-tools - Set of scripts to setup a host with docker-swarm and caddy auth-portal
terrible - An Ansible playbook that applies the principle of the Infrastructure as Code on a QEMU/KVM environment.
Docker Compose - Define and run multi-container applications with Docker
photoprism-debian - Install PhotoPrism on Debian
ansible-role-install-virtualbox - Ansible Role: Install VirtualBox
xsrv - [mirror] Install and manage self-hosted services/applications, on your own server(s) - ansible collection and utilities
ansible-role-security - Ansible Role - Security
ansible-role-drupal - Ansible Role - Drupal