Kris Lamoureux
81d2ea447a
- Added development "mediaserver" playbook for testing - rm .gitignore in roles dir since no external ansible roles are used - Update a part of the base role to use FQCN for linting - Added "jellyfin" role to install Jellyfin with docker-compose - Updated Traefik to use the loopback for default web entry points - Simplified Traefik docker-compose vars, Ansible sets defaults
24 lines
588 B
YAML
24 lines
588 B
YAML
- name: 'Install Ansible dependency: python3-apt'
|
|
ansible.builtin.shell: 'apt-get update && apt-get install python3-apt -y'
|
|
args:
|
|
creates: /usr/lib/python3/dist-packages/apt
|
|
warn: false
|
|
|
|
- name: Install additional Ansible dependencies
|
|
ansible.builtin.apt:
|
|
name: "{{ item }}"
|
|
state: present
|
|
force_apt_get: true
|
|
update_cache: true
|
|
loop:
|
|
- aptitude
|
|
- python3-docker
|
|
- python3-pymysql
|
|
- python3-psycopg2
|
|
|
|
- name: Create Ansible's temporary remote directory
|
|
ansible.builtin.file:
|
|
path: "~/.ansible/tmp"
|
|
state: directory
|
|
mode: 0700
|