Wolfgang Kulhanek
2018-04-25 20295a0744eed5f4f036aab9f3ee86f920c603c3
ansible/roles/ocp-client-vm/tasks/packages.yml
@@ -26,6 +26,48 @@
  tags:
    - install_openshift_client_vm_packages
- name: Get S2I Executable
  get_url:
    url: https://github.com/openshift/source-to-image/releases/download/v1.1.9a/source-to-image-v1.1.9a-40ad911d-linux-amd64.tar.gz
    dest: /root/s2i.tar.gz
  tags:
    - install_openshift_client_vm_packages
- name: Create unarchive directory
  file:
    path: /root/s2i
    state: directory
  tags:
    - install_openshift_client_vm_packages
- name: Unarchive file
  unarchive:
    remote_src: yes
    src: /root/s2i.tar.gz
    dest: /root/s2i
  tags:
    - install_openshift_client_vm_packages
- name: Move s2i to /usr/local/bin
  copy:
    remote_src: yes
    src: /root/s2i/s2i
    dest: /usr/local/bin/s2i
    group: root
    owner: root
    mode: 0755
  tags:
    - install_openshift_client_vm_packages
- name: Cleanup Temp Directory
  file:
    dest: /root/s2i
    state: absent
  tags:
    - install_openshift_client_vm_packages
- name: Cleanup downloaded file
  file:
    dest: /root/s2i.tar.gz
    state: absent
  tags:
    - install_openshift_client_vm_packages
- name: Install bash-git-prompt
  git:
    repo: https://github.com/magicmonty/bash-git-prompt.git