Ansible BuildAnsible Build
Home
Scripts
Mint System
GitHub
Home
Scripts
Mint System
GitHub
  • Docker Volume role

Docker Volume role

Configures a Docker volume.

Usage

Configure the role.

docker_volume_name: example_data01
docker_volumes:
  - name: service_data02
  - name: service_data03
docker_volume_backup_set: # See restic_backup_set var in role restic

And include it in your playbook.

- hosts: docker_volume
  roles:
  - role: docker_volume

Docs

Install command line tools

The installation script requires that you have sudo access to root.

Run curl -L https://raw.githubusercontent.com/mint-system/ansible-build/main/roles/docker_volume/files/install | bash in your terminal.

Edit this page
Last Updated:
Contributors: Janik von Rotz