Compare commits

...
This repository has been archived on 2023-04-26. You can view files and clone it, but cannot push or open issues or pull requests.

2 commits

Author SHA1 Message Date
3f9bac7f35 all changes to make it work on Debian 2023-02-04 17:02:53 +01:00
392014dbd8 test 2023-02-04 14:48:40 +01:00
4 changed files with 9 additions and 17 deletions

View file

@ -2,3 +2,4 @@ base_data_dir: /data
base_service_dir: /srv
jitsi_videobridge_port: 54562
git_ssh_port: 56287

View file

@ -1,4 +0,0 @@
nameserver 192.168.30.1
nameserver 1.1.1.1
nameserver 1.0.0.1
search lan

View file

@ -9,16 +9,6 @@
file:
path: "{{ base_service_dir }}"
state: directory
- name: Disable systemd-resolved
systemd:
name: systemd-resolved
enabled: false
state: stopped
- name: Copy resolv.conf
copy:
src: "{{ role_path }}/files/resolv.conf"
dest: /etc/resolv.conf
follow: true
- name: Add dataserver to known hosts
known_hosts:
name: "lewis.lan"

View file

@ -8,11 +8,12 @@
- python3-pip
- name: Add Docker APT key
apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
keyring: /etc/apt/keyrings/docker.gpg
url: https://download.docker.com/linux/debian/gpg
state: present
- name: Add Docker repository
apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
repo: "deb https://download.docker.com/linux/debian bullseye stable"
state: present
register: apt_repository
- name: Update APT cache
apt:
@ -30,6 +31,10 @@
name:
- docker
- docker-compose
- name: Create /etc/docker directory
file:
path: "/etc/docker"
state: directory
- name: Copy daemon.json
copy:
src: "{{ role_path }}/files/daemon.json"