Add changed_when to makepkg command

This commit is contained in:
flyingscorpio@clevo 2022-02-28 13:34:10 +01:00
parent e08086847d
commit 015fbfa756
2 changed files with 4 additions and 0 deletions

View file

@ -11,3 +11,5 @@
cmd: makepkg -cirs --needed
chdir: ~/builds/powershell-bin
when: ansible_distribution == 'Archlinux'
register: result
changed_when: "'installing existing package' not in result.stderr"

View file

@ -26,6 +26,8 @@
cmd: makepkg -cirs --needed
chdir: ~/builds/openvpn-update-systemd-resolved
when: ansible_distribution == 'Archlinux'
register: result
changed_when: "'installing existing package' not in result.stderr"
- name: Copy client confs
become: true