Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ansible install required packages f1
- name: Install required packages
hosts: azure-server
become: true
tasks:
- name: install docker
apt: name=docker update_cache=true
- name: install docker-compose
get_url:
url: "https://github.com/docker/compose/releases/download/1.26.0/docker-compose-{{ansible_system}}-{{ansible_architecture}}"
dest: /usr/local/bin/docker-compose
mode: 0777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.