Basic Ansible docker pull and up -d

This commit is contained in:
Ash Leece 2020-06-26 14:21:03 +00:00
parent 9cdf6f9918
commit 5f2161a4dc
3 changed files with 16 additions and 0 deletions

3
plex-docker/.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"python.pythonPath": "/usr/bin/python3"
}

2
plex-docker/ansible.cfg Normal file
View File

@ -0,0 +1,2 @@
[defaults]
inventory = ./hosts

11
plex-docker/playbook.yml Normal file
View File

@ -0,0 +1,11 @@
- name: Upgrade Plex docker stack
hosts: all
gather_facts: no
tasks:
- name: Updating Plex stack
docker_compose:
project_src: docker-compose/plex/
state: present
pull: yes
register: docker