collection of ansible roles
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.
 
 
 
 

16 lines
454 B

- name: Create directory for manifest storage
ansible.builtin.file:
path: "{{ longhorn_working_dir }}"
state: directory
mode: '0755'
- name: download longhorn manifest
get_url:
url: "https://raw.githubusercontent.com/longhorn/longhorn/master/deploy/longhorn.yaml"
dest: "{{ longhorn_manifest_path }}"
mode: '0664'
- name: apply longhorn manifest
kubernetes.core.k8s:
apply: yes
src: "{{ longhorn_manifest_path }}"