2021-09-11 15:02:23 +00:00
|
|
|
---
|
|
|
|
# This role installs some of nitter's dependencies and creates the user
|
|
|
|
# nitter will run under
|
|
|
|
|
|
|
|
- name: Install libsass and redis-server
|
2021-09-11 15:24:11 +00:00
|
|
|
ansible.builtin.apt: name={{ packages }} state=present update_cache=yes
|
2021-09-11 15:02:23 +00:00
|
|
|
vars:
|
|
|
|
packages:
|
|
|
|
- libsass-dev
|
|
|
|
- redis-server
|
2021-09-11 15:26:55 +00:00
|
|
|
- build-essential
|
2021-09-11 15:02:23 +00:00
|
|
|
- name: Add the user that nitter will run as
|
2021-09-11 15:24:11 +00:00
|
|
|
ansible.builtin.user: name={{ NITTER_USER }} shell=/bin/bash state=present
|