ansible/roles/firefox_dev/tasks/main.yml

27 lines
602 B
YAML
Raw Normal View History

2021-04-11 16:00:07 +01:00
---
- name: create ~/.local/opt/firefox/
file:
path: ~/.local/opt
state: directory
mode: '0755'
- name: Fetch Firefox Developer Edition binary
unarchive:
2021-11-16 15:23:42 +00:00
src: https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64
2021-04-11 16:00:07 +01:00
dest: ~/.local/opt/
mode: 0755
remote_src: yes
- name: Link the binary
file:
src: ~/.local/opt/firefox/firefox
dest: ~/.local/bin/firefox-dev
state: link
- name: create firefox-dev.desktop
copy:
src: firefox-dev.desktop
mode: "0644"
dest: /home/jonathan/.local/share/applications/firefox-dev.desktop