RETIRED, Function as a Service for OpenStack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
651 B

- name: Create temporary directory
state: directory
path: ~/kube-prompt
register: dir
- name: Download kube-prompt
url:{{ kube_prompt_version }}/kube-prompt_{{ kube_prompt_version }}
dest: "{{ dir.path }}/"
- name: Unarchive kube-prompt
src: "{{ dir.path }}/"
dest: "{{ dir.path }}"
remote_src: yes
creates: "{{ dir.path }}/kube-prompt"
- name: Copy kube-prompt to bin
dest: /usr/bin/kprompt
src: "{{ dir.path }}/kube-prompt"
mode: u+x
remote_src: yes