Remove bitlee

parent 225c4914
---
- hosts: "kstraat.casa"
gather_facts: false
roles:
- role: bitlbee
bitlbee_system_user: bitlbee
# bitlbee
A role to install and configure [bitlbee].
[bitlee]: http://bitlbee.org/
# Supported Operating Systems
* Raspbian Stretch Lite 2018-10-09
* Debian Stretch
# Role Variables
* `bitlbee_system_user`: User account for bitlbee.
---
galaxy_info:
author: decentral1se
description: A role to install and configure bitlbee.
license: GPLv3
min_ansible_version: 2.7
---
- name: Ensure mandatory variables are configured.
assert:
that: "{{ item }} is defined"
loop:
- bitlbee_system_user
- name: Install Bitlbee and dependencies.
become: true
apt:
name: "{{ item }}"
state: present
loop:
- bitlbee
- bitlbee-dev
- libglib2.0-dev
- libtool
- stunnel4
# TODO: Set ENABLED=1 in /etc/default/stunnel4
# TODO: Add `bitlbee` server to /etc/services
# TODO: Add `stunnel` configuration in /etc/stunnel
# TODO: Run `systemctl enable stunnel4`
# TODO: Run `systemctl enable bitlbee`
# TODO: https://alexschroeder.ch/software/Bitlbee_Mastodon
# TODO: Install `lsof`
- name: Add a new bitlbee user.
become: true
user:
name: "{{ bitlbee_system_user }}"
system: true
- name: Create Bitlbee user root directory.
become: true
file:
path: "/home/{{ bitlbee_system_user }}"
state: directory
owner: "{{ bitlbee_system_user }}"
group: "{{ bitlbee_system_user }}"
mode: 0750
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment