install magic-wormhole

This commit is contained in:
Pig Monkey 2016-12-17 18:48:55 -08:00
parent c3b44f0b1e
commit f06e42b088
4 changed files with 28 additions and 0 deletions

View file

@ -61,6 +61,7 @@
- { role: aws, tags: ['aws'] }
- { role: parcimonie, tags: ['parcimonie'], when: "tor is defined" }
- { role: localtime, tags: ['localtime'], when: "localtime is defined" }
- { role: wormhole, tags: ['wormhole'] }
vars_prompt:
- name: user_password
prompt: "Enter desired user password"

View file

@ -0,0 +1,5 @@
include /usr/local/etc/firejail/generic.profile
private-dev
# Specify a non-existent file so that we get an empty /etc
private-etc rmx7nq4ujgyogn

View file

@ -0,0 +1,3 @@
---
dependencies:
- { role: firejail }

View file

@ -0,0 +1,19 @@
---
- name: Install magic-wormhole
aur: name=magic-wormhole user={{ user.name }}
tags:
- aur
- name: Jail magic-wormhole
file: src=/usr/bin/firejail
dest=/usr/local/bin/wormhole
state=link
tags:
- firejail
- name: Push magic-wormhole firejail profile
copy: src=firejail/wormhole.profile dest=/usr/local/etc/firejail/wormhole.profile
notify:
- activate firejail profiles
tags:
- firejail