mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 10:25:39 +00:00
reformat yaml
This commit is contained in:
parent
441876243c
commit
8a789632c5
1 changed files with 20 additions and 8 deletions
|
|
@ -1,23 +1,35 @@
|
|||
---
|
||||
- name: Install firejail
|
||||
pacman: name=firejail state=present
|
||||
pacman:
|
||||
name: firejail
|
||||
state: present
|
||||
|
||||
- name: Install firewarden
|
||||
aur: name=firewarden user={{ user.name }}
|
||||
aur:
|
||||
name: firewarden
|
||||
user: "{{ user.name }}"
|
||||
tags:
|
||||
- aur
|
||||
|
||||
- name: Install firejail profile update script
|
||||
copy: src=profile-activate.sh dest=/usr/local/bin/profile-activate mode=0755
|
||||
copy:
|
||||
src: profile-activate.sh
|
||||
dest: /usr/local/bin/profile-activate
|
||||
mode: 0755
|
||||
|
||||
- name: Create firejail profile directory
|
||||
file: path=/usr/local/etc/firejail state=directory
|
||||
file:
|
||||
path: /usr/local/etc/firejail
|
||||
state: directory
|
||||
|
||||
- name: Verify firejail globals file exists
|
||||
file: path=/etc/firejail/globals.local state=touch
|
||||
file:
|
||||
path: /etc/firejail/globals.local
|
||||
state: touch
|
||||
|
||||
- name: Add blacklist to globals
|
||||
lineinfile: dest=/etc/firejail/globals.local
|
||||
state=present
|
||||
line="blacklist {{ item }}"
|
||||
lineinfile:
|
||||
dest: /etc/firejail/globals.local
|
||||
state: present
|
||||
line: "blacklist {{ item }}"
|
||||
with_items: "{{ firejail.blacklist }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue