mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
split firefox and chromium into their own task files
This commit is contained in:
parent
5940679e01
commit
01907e1ef8
3 changed files with 42 additions and 31 deletions
29
roles/browsers/tasks/chromium.yml
Normal file
29
roles/browsers/tasks/chromium.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
- name: Install Chromium
|
||||
pacman: name=chromium state=present
|
||||
tags:
|
||||
- chromium
|
||||
|
||||
- name: Jail Chromium
|
||||
copy: src=chromium.sh dest=/usr/local/bin/chromium mode=0755
|
||||
tags:
|
||||
- chromium
|
||||
- firejail
|
||||
|
||||
- name: Download Chromium Pepper Flash
|
||||
command: cower -dq chromium-pepper-flash
|
||||
chdir=/home/{{ user.name }}/{{ aur.dir }}
|
||||
creates=/home/{{ user.name }}/{{ aur.dir }}/chromium-pepper-flash
|
||||
tags:
|
||||
- aur
|
||||
- chromium
|
||||
become: yes
|
||||
become_user: "{{ user.name }}"
|
||||
|
||||
- name: Build and install Chromium Pepper Flash
|
||||
command: "{{ aur.makepkg }} chdir=/home/{{ user.name }}/{{ aur.dir }}/chromium-pepper-flash"
|
||||
tags:
|
||||
- aur
|
||||
- chromium
|
||||
become: yes
|
||||
become_user: "{{ user.name }}"
|
||||
11
roles/browsers/tasks/firefox.yml
Normal file
11
roles/browsers/tasks/firefox.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
- name: Install Firefox
|
||||
pacman: name=firefox state=present
|
||||
tags:
|
||||
- firefox
|
||||
|
||||
- name: Jail Firefox
|
||||
copy: src=firefox.sh dest=/usr/local/bin/firefox mode=0755
|
||||
tags:
|
||||
- firefox
|
||||
- firejail
|
||||
|
|
@ -5,34 +5,5 @@
|
|||
- name: Install w3m
|
||||
pacman: name=w3m state=present
|
||||
|
||||
- name: Install Firefox
|
||||
pacman: name=firefox state=present
|
||||
|
||||
- name: Jail Firefox
|
||||
copy: src=firefox.sh dest=/usr/local/bin/firefox mode=0755
|
||||
tags:
|
||||
- firejail
|
||||
|
||||
- name: Install Chromium
|
||||
pacman: name=chromium state=present
|
||||
|
||||
- name: Jail Chromium
|
||||
copy: src=chromium.sh dest=/usr/local/bin/chromium mode=0755
|
||||
tags:
|
||||
- firejail
|
||||
|
||||
- name: Download Chromium Pepper Flash
|
||||
command: cower -dq chromium-pepper-flash
|
||||
chdir=/home/{{ user.name }}/{{ aur.dir }}
|
||||
creates=/home/{{ user.name }}/{{ aur.dir }}/chromium-pepper-flash
|
||||
tags:
|
||||
- aur
|
||||
become: yes
|
||||
become_user: "{{ user.name }}"
|
||||
|
||||
- name: Build and install Chromium Pepper Flash
|
||||
command: "{{ aur.makepkg }} chdir=/home/{{ user.name }}/{{ aur.dir }}/chromium-pepper-flash"
|
||||
tags:
|
||||
- aur
|
||||
become: yes
|
||||
become_user: "{{ user.name }}"
|
||||
- include: firefox.yml
|
||||
- include: chromium.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue