Created
January 5, 2018 19:20
-
-
Save yogeek/30341d4dd81ba8275844d3e738ae267a to your computer and use it in GitHub Desktop.
Docker-Machine playbook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
vars: | |
docker_machine_version: v0.14.0 | |
tasks: | |
- name: Install Docker Machine | |
get_url: | |
url: "https://github.com/docker/machine/releases/download/{{ docker_machine_version }}/docker-machine-linux-x86_64" | |
dest: /usr/local/bin/docker-machine | |
mode: 0755 | |
- name: Install bash-completion | |
yum: name={{ item }} | |
with_items: | |
- bash-completion | |
- name: Install Docker Machine bash_completion | |
get_url: | |
url: "https://raw.githubusercontent.com/docker/machine/{{ docker_machine_version }}/contrib/completion/bash/{{ item }}" | |
dest: /etc/bash_completion.d/{{ item }} | |
with_items: | |
- docker-machine-prompt.bash | |
- docker-machine-wrapper.bash | |
- docker-machine.bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment