Skip to content

Commit

Permalink
Merge pull request #5 from darkwizard242/feature/update-doc
Browse files Browse the repository at this point in the history
Minor doc update and FQCN for EL tasks
  • Loading branch information
darkwizard242 authored Oct 3, 2022
2 parents cb439d7 + 049f8fb commit 56f0349
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ Variable | Description
-------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
bravebrowser_app | Name of Brave browser application package require to be installed i.e. `brave-browser`
bravebrowser_app_desired_state | State of the Brave browser package. Whether to install, verify if available or to uninstall (i.e. ansible apt module values: `present`, `latest`, or `absent`)
bravebrowser_repo_debian_url | Brave browser repo URL for Debain family systems.
bravebrowser_repo_debian_gpg_key | Brave browser key required on Debian family systems.
bravebrowser_repo_debian | Brave browser repo URL for Debain family systems.
bravebrowser_repo_debian_gpg_key_url | Brave browser gpg key URL required on Debian family system
bravebrowser_repo_debian_gpg_key_dest | Brave browser gpg key path to store locally on Debian family system
bravebrowser_repo_debian | Brave browser repo string for Debain family systems.
bravebrowser_repo_debian_filename | Name of the repository file that will be stored at `/etc/apt/sources.list.d/` on Debian based systems.
bravebrowser_repo_debian_desired_state | `present` indicates creating the repository file if it doesn't exist on Debian based systems. Alternative is `absent` (not recommended as it will prevent from installation of **brave-browser** package).
bravebrowser_repo_el | Repository `baseurl` for Brave browser on EL based systems.
Expand Down
4 changes: 2 additions & 2 deletions tasks/install_el.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


- name: EL Family | Adding repository for {{ bravebrowser_repo_el }}
yum_repository:
ansible.builtin.yum_repository:
name: "{{ bravebrowser_repo_el_name }}"
description: "{{ bravebrowser_repo_el_description }}"
baseurl: "{{ bravebrowser_repo_el }}"
Expand All @@ -14,7 +14,7 @@
enabled: "{{ bravebrowser_repo_el_enabled }}"

- name: EL Family | Installing {{ bravebrowser_app }}
yum:
ansible.builtin.yum:
name: "{{ bravebrowser_app }}"
state: "{{ bravebrowser_app_desired_state }}"
update_cache: yes

0 comments on commit 56f0349

Please sign in to comment.