toansible: Add tor installation
This commit is contained in:
parent
463fdfee6a
commit
12998cb55e
3 changed files with 17 additions and 4 deletions
|
@ -33,10 +33,6 @@ firefox:
|
||||||
- run:
|
- run:
|
||||||
- firefox $(sed -n '/^ http/p' firefox_addons.txt)
|
- firefox $(sed -n '/^ http/p' firefox_addons.txt)
|
||||||
|
|
||||||
tor:
|
|
||||||
- install:
|
|
||||||
- torbrowser-launcher
|
|
||||||
|
|
||||||
terminator:
|
terminator:
|
||||||
- install:
|
- install:
|
||||||
- terminator
|
- terminator
|
||||||
|
|
|
@ -6,3 +6,4 @@
|
||||||
- neovim
|
- neovim
|
||||||
- ssh-agent
|
- ssh-agent
|
||||||
- pacman.conf
|
- pacman.conf
|
||||||
|
- tor
|
||||||
|
|
16
roles/tor/tasks/main.yml
Normal file
16
roles/tor/tasks/main.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- name: Install Tor (Archlinux)
|
||||||
|
- install:
|
||||||
|
become: true
|
||||||
|
pacman:
|
||||||
|
name:
|
||||||
|
- torbrowser-launcher
|
||||||
|
when: ansible_distribution == 'Archlinux'
|
||||||
|
|
||||||
|
- name: Install Tor (Debian)
|
||||||
|
become: true
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- torbrowser-launcher
|
||||||
|
when: ansible_distribution == 'Debian'
|
Loading…
Add table
Reference in a new issue