Skip to content

Instantly share code, notes, and snippets.

@kjelly
Created September 4, 2019 10:17
Show Gist options
  • Save kjelly/5f2e64722271016bef5921b795940de9 to your computer and use it in GitHub Desktop.
Save kjelly/5f2e64722271016bef5921b795940de9 to your computer and use it in GitHub Desktop.
- name: prepare kolla
hosts: "all"
tasks:
- name: copy docker
copy: src=/packages/docker.tar.gz dest=/tmp/docker.tar.gz
- shell: tar zxvf /tmp/docker.tar.gz -C /tmp
- shell: ./install-docker.sh
args:
chdir: /tmp/
- name: copy nvim
copy: src=/packages/nvim.tar.gz dest=/tmp/nvim.tar.gz
- name: remove openvswitch and libvirt
yum: name="{{ item }}" state="absent"
with_items:
- libvirt-daemon
- openvswitch
when: ansible_os_family == "RedHat"
ignore_errors: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment