--- - name: Install metallb 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 metallb pipeline ansible.builtin.command: > bash -c 'cd /home/vagrant && LOG_FILE=/tmp/metallb_log.txt LOG_FORMAT=basic infctl -f ./pipelines/vagrant-metallb.json' register: metallb_result ignore_errors: false