--- - name: Install longhorn using infctl hosts: localhost become: true become_user: vagrant serial: 1 # Ensure tasks are executed one host at a time vars_files: - vars.yaml tasks: - name: run infctl longhorn pipeline ansible.builtin.command: > bash -c 'cd /home/vagrant && LOG_FILE=/tmp/longhorn_log.txt LOG_FORMAT=basic infctl -f pipelines/vagrant-longhorn.json' register: longhorn_result ignore_errors: false