Skip to content

Commit

Permalink
fix: bash pipefail
Browse files Browse the repository at this point in the history
  • Loading branch information
DrPsychick committed Sep 8, 2023
1 parent d9265d3 commit ab0bbd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/create_libvirt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
ansible.builtin.shell: |
set -o pipefail
virsh domifaddr {{ item }} | grep 'ipv4' | awk '{print $4}' | awk -F/ '{print $1}'
args:
executable: /bin/bash
register: vm_ips
become: true
become_user: root
Expand Down

0 comments on commit ab0bbd5

Please sign in to comment.