diff --git a/roles/librewolf/tasks/main.yml b/roles/librewolf/tasks/main.yml index 34186df..ac25818 100644 --- a/roles/librewolf/tasks/main.yml +++ b/roles/librewolf/tasks/main.yml @@ -8,13 +8,14 @@ when: ansible_facts['distribution'] == 'Archlinux' - name: Add gpg key for librewolf - command: gpg --keyserver hkp://keyserver.ubuntu.com --search-keys 031F7104E932F7BD7416E7F6D2845E1305D6E801 + command: gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 031F7104E932F7BD7416E7F6D2845E1305D6E801 when: ansible_facts['distribution'] == 'Archlinux' - name: Make and install librewolf (Archlinux) command: cmd: makepkg -cirs --needed chdir: ~/builds/librewolf-bin + stdin: Y when: ansible_facts['distribution'] == 'Archlinux' register: result changed_when: "'installing existing package' not in result.stderr" diff --git a/roles/powershell/tasks/main.yml b/roles/powershell/tasks/main.yml index c64b1e6..b8db793 100644 --- a/roles/powershell/tasks/main.yml +++ b/roles/powershell/tasks/main.yml @@ -11,6 +11,7 @@ command: cmd: makepkg -cirs --needed chdir: ~/builds/powershell-bin + stdin: Y when: ansible_facts['distribution'] == 'Archlinux' register: result changed_when: "'installing existing package' not in result.stderr"