refactor: adjusted brave installation to use proper standards
This commit is contained in:
parent
c7b27b6432
commit
b9cd780821
@ -4,6 +4,15 @@
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
|
||||
- name: Install Brave Browser
|
||||
shell: curl -fsS https://dl.brave.com/install.sh | sh -s -- -y
|
||||
- name: Download Brave Browser install script
|
||||
ansible.builtin.get_url:
|
||||
url: https://dl.brave.com/install.sh
|
||||
dest: /tmp/install_brave.sh
|
||||
mode: '0755'
|
||||
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