add common/tasks/main.yml and group_vars/all.sample
This commit is contained in:
parent
2343678ee2
commit
4d842efb2e
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
# This role installs some of nitter's dependencies and creates the user
|
||||||
|
# nitter will run under
|
||||||
|
|
||||||
|
- name: Install libsass and redis-server
|
||||||
|
apt: name={{ packages }} state=present update_cache=yes
|
||||||
|
vars:
|
||||||
|
packages:
|
||||||
|
- libsass-dev
|
||||||
|
- redis-server
|
||||||
|
- name: Add the user that nitter will run as
|
||||||
|
user: name={{ NITTER_USER }} shell=/bin/bash state=present
|
|
@ -0,0 +1,5 @@
|
||||||
|
# Specify the user Nitter will run under (you can just use 'nitter' if unsure)
|
||||||
|
NITTER_USER: nitter
|
||||||
|
|
||||||
|
# Specify the domain Nitter will run under
|
||||||
|
NITTER_DOMAIN: nitter.example.com
|
Loading…
Reference in New Issue