https://github.com/morebec/ansible-docker
Ansible role installing docker + portainer + watchtower
https://github.com/morebec/ansible-docker
Last synced: 4 months ago
JSON representation
Ansible role installing docker + portainer + watchtower
- Host: GitHub
- URL: https://github.com/morebec/ansible-docker
- Owner: Morebec
- Created: 2022-11-11T16:27:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-11T20:09:08.000Z (over 3 years ago)
- Last Synced: 2025-09-18T00:53:09.140Z (9 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Docker
=========
Installs docker, watchtower and portainer on a host, while adding a given user to the docker group.
Requirements
------------
Requires the https://github.com/Morebec/server-init-ansible.git role which can be
added to playbooks with a `requirements.yml` file:
```yaml
- name: server-init
src: https://github.com/Morebec/ansible-server-init.git
scm: git
```
Role Variables
--------------
```yaml
# Corresponds to the user with which deployments of this role will be performed.
# defaults to "deploy" just like the ansible
# This user will be added to the to the docker group.
deploy_user:
# Port from which portainer is available.
# Defaults to 127.0.0.1:9000 which by adding 127.0.0.1 requires port forwarding
# in order to access.
portainer_port:
```