github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/deploy/dev/ansible/setup.yaml (about) 1 - name: Setup all hosts 2 hosts: all 3 gather_facts: no 4 become: yes 5 vars_files: 6 - "vars.yaml" 7 8 tasks: 9 - name: Create and mount storage paths 10 ansible.builtin.script: setup_storage.sh {{ directory }} {{ devices }} {{ mountpaths }} 11 12 - name: Clone AIS git repo 13 ansible.builtin.git: 14 repo: https://github.com/NVIDIA/aistore.git 15 dest: "{{ source_root }}" 16 17 - name: Make git repo "safe" 18 community.general.git_config: 19 name: safe.directory 20 value: '*' 21 22 - name: Copy deploy script 23 copy: 24 src: "{{ playbook_dir }}/deploy.sh" 25 dest: "{{ remote_deploy_script }}" 26 mode: 0777