refactor: adjusted brave installation to use proper standards
This commit is contained in:
parent
c7b27b6432
commit
b9cd780821
@ -4,6 +4,15 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
- name: Install Brave Browser
|
- name: Download Brave Browser install script
|
||||||
shell: curl -fsS https://dl.brave.com/install.sh | sh -s -- -y
|
ansible.builtin.get_url:
|
||||||
|
url: https://dl.brave.com/install.sh
|
||||||
|
dest: /tmp/install_brave.sh
|
||||||
|
mode: '0755'
|
||||||
when: brave_check.rc != 0
|
when: brave_check.rc != 0
|
||||||
|
|
||||||
|
- name: Install Brave Browser
|
||||||
|
ansible.builtin.command: bash -c 'set -o pipefail && /tmp/install_brave.sh -y'
|
||||||
|
when: brave_check.rc != 0
|
||||||
|
args:
|
||||||
|
creates: /usr/bin/brave-browser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user