Hyperling
b162731c29
* Add at and reword comment. * Add cronie, thought this was already done but last pull request got wonky. * Zypper is not happy about asking Brave repo to be added multiple times. * Replace deprecated `include` commands. * Add gcc. * Add another cc command for openSUSE. * include_tasks is not supporting ignore_errors like include used to, move to individual tasks. * Do a better job of removing libreoffice from local package manager. * Enhance reports. * Add basic VIM setup. * Undo some lynis changes, fix folder permissions so users can view. * Change lynis back to chdir and local execution. * Add doas. * Add check against old usage of setup.sh BRANCH. * Greatly reduce number of tasks, create temp file while building report. * Create temp file while building report.
49 lines
1.7 KiB
YAML
49 lines
1.7 KiB
YAML
---
|
|
# Everything needed to install Brave
|
|
|
|
- name: Workstation | Software | Brave | Pre-Reqs [apt]
|
|
package:
|
|
name:
|
|
- apt-transport-https
|
|
state: present
|
|
when: ansible_pkg_mgr == "apt"
|
|
|
|
- name: Workstation | Software | Brave | Pre-Reqs [dnf]
|
|
package:
|
|
name:
|
|
- dnf-plugins-core
|
|
state: present
|
|
when: ansible_pkg_mgr == "dnf"
|
|
|
|
# https://brave.com/linux/#debian-ubuntu-mint
|
|
- name: Workstation | Software | Brave | Add Repo [apt]
|
|
shell: "{{ item }}"
|
|
loop:
|
|
- curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
|
|
- echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | tee /etc/apt/sources.list.d/brave-browser-release.list
|
|
- apt update
|
|
when: ansible_pkg_mgr == "apt"
|
|
|
|
# https://brave.com/linux/#fedora-centos-streamrhel
|
|
- name: Workstation | Software | Brave | Add Repo [dnf]
|
|
shell: "{{ item }}"
|
|
loop:
|
|
- dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/x86_64/
|
|
- rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
|
|
when: ansible_pkg_mgr == "dnf"
|
|
|
|
# https://brave.com/linux/#opensuse
|
|
- name: Workstation | Software | Brave | Add Repo [zypper]
|
|
shell: "{{ item }}"
|
|
loop:
|
|
- rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
|
|
- zypper addrepo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
|
|
when: ansible_pkg_mgr == "zypper"
|
|
ignore_errors: yes
|
|
|
|
- name: Workstation | Software | Brave | Install
|
|
package:
|
|
name:
|
|
- brave-browser
|
|
state: present
|