Skip to content

Instantly share code, notes, and snippets.

Created Sep 3, 2020
What would you like to do?
- name: Install python/pip related packages
apt: name={{ item }} state=present
- python3-pip
- python3-venv
- libffi-dev
- libssl-dev
- pip:
name: docker-compose
virtualenv_command: python3 -m venv
virtualenv: /opt/docker-compose-venv
- name: Create symbolic link for docker-compose
src: "/opt/docker-compose-venv/bin/docker-compose"
dest: "/usr/local/bin/docker-compose"
state: link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment