Created
September 4, 2019 10:17
-
-
Save kjelly/5f2e64722271016bef5921b795940de9 to your computer and use it in GitHub Desktop.
This file contains 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
- 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