Compare commits
No commits in common. "e35d268aeab5cb136828d2af92b38cbc0618175d" and "d6787a31b0033e4545012975ae0c9cd7311a2879" have entirely different histories.
e35d268aea
...
d6787a31b0
2
Makefile
2
Makefile
@ -4,8 +4,6 @@ apply-all:
|
|||||||
ansible-playbook debian.yml -u root -i 'andraia,'
|
ansible-playbook debian.yml -u root -i 'andraia,'
|
||||||
apply-local:
|
apply-local:
|
||||||
su -c "ansible-playbook debian.yml -u root -i '127.0.0.1,' --connection=local"
|
su -c "ansible-playbook debian.yml -u root -i '127.0.0.1,' --connection=local"
|
||||||
plex-local:
|
|
||||||
sudo ansible-playbook plex_server.yml -u root -i '127.0.0.1,' --connection=local
|
|
||||||
init-local:
|
init-local:
|
||||||
su -c "mkdir -p /root/.ssh/ && cat ~gary/.ssh/id_rsa.pub >> /root/.ssh/authorized_key"
|
su -c "mkdir -p /root/.ssh/ && cat ~gary/.ssh/id_rsa.pub >> /root/.ssh/authorized_key"
|
||||||
init:
|
init:
|
||||||
|
43
debian.yml
43
debian.yml
@ -38,16 +38,6 @@
|
|||||||
repo: "deb-src https://deb.nodesource.com/node_6.x jessie main"
|
repo: "deb-src https://deb.nodesource.com/node_6.x jessie main"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|
||||||
- name: Syncthing Repository Key
|
|
||||||
apt_key:
|
|
||||||
url: https://syncthing.net/release-key.txt
|
|
||||||
state: present
|
|
||||||
- name: Syncthing Repository
|
|
||||||
apt_repository:
|
|
||||||
repo: "deb https://apt.syncthing.net/ syncthing stable"
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Tarsnap Repository Key
|
- name: Tarsnap Repository Key
|
||||||
apt_key:
|
apt_key:
|
||||||
url: https://pkg.tarsnap.com/tarsnap-deb-packaging-key.asc
|
url: https://pkg.tarsnap.com/tarsnap-deb-packaging-key.asc
|
||||||
@ -76,21 +66,6 @@
|
|||||||
repo: "deb [arch=amd64] https://download.docker.com/linux/debian stretch stable"
|
repo: "deb [arch=amd64] https://download.docker.com/linux/debian stretch stable"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: VirtualBox Repository Key 1
|
|
||||||
apt_key:
|
|
||||||
url: https://www.virtualbox.org/download/oracle_vbox_2016.asc
|
|
||||||
state: present
|
|
||||||
- name: VirtualBox Repository Key 2
|
|
||||||
apt_key:
|
|
||||||
url: https://www.virtualbox.org/download/oracle_vbox.asc
|
|
||||||
state: present
|
|
||||||
- name: VirtualBox Repository
|
|
||||||
apt_repository:
|
|
||||||
repo: "deb http://download.virtualbox.org/virtualbox/debian stretch contrib"
|
|
||||||
state: present
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# update system
|
# update system
|
||||||
- name: Update | Update System
|
- name: Update | Update System
|
||||||
apt:
|
apt:
|
||||||
@ -109,11 +84,6 @@
|
|||||||
name: bzr
|
name: bzr
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
- name: Install cifs-utils
|
|
||||||
apt:
|
|
||||||
name: cifs-utils
|
|
||||||
state: latest
|
|
||||||
|
|
||||||
- name: Install clang
|
- name: Install clang
|
||||||
apt:
|
apt:
|
||||||
name: clang
|
name: clang
|
||||||
@ -234,10 +204,10 @@
|
|||||||
name: redshift-gtk
|
name: redshift-gtk
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
#- name: Install remmina
|
- name: Install remmina
|
||||||
# apt:
|
apt:
|
||||||
# name: remmina
|
name: remmina
|
||||||
# state: latest
|
state: latest
|
||||||
|
|
||||||
- name: Install rsync
|
- name: Install rsync
|
||||||
apt:
|
apt:
|
||||||
@ -299,11 +269,6 @@
|
|||||||
name: tree
|
name: tree
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
- name: Install virtualbox-5.1
|
|
||||||
apt:
|
|
||||||
name: virtualbox-5.1
|
|
||||||
state: latest
|
|
||||||
|
|
||||||
- name: Install vim-gtk3
|
- name: Install vim-gtk3
|
||||||
apt:
|
apt:
|
||||||
name: vim-gtk3
|
name: vim-gtk3
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
- name: Enable Syncthing Daemon
|
- name: Enable Syncthing Daemon
|
||||||
service:
|
service:
|
||||||
name: "syncthing@gary"
|
name: syncthing@gary
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
tasks:
|
|
||||||
- name: Pull Plex Image
|
|
||||||
docker_image:
|
|
||||||
name: plexinc/pms-docker:latest
|
|
||||||
|
|
||||||
- name: Create Plex Container
|
|
||||||
docker_container:
|
|
||||||
name: Plex
|
|
||||||
image: plexinc/pms-docker:latest
|
|
||||||
state: started
|
|
||||||
restart_policy: always
|
|
||||||
network_mode: host
|
|
||||||
env:
|
|
||||||
PLEX_CLAIM: "America/North_Dakota/Center"
|
|
||||||
volumes:
|
|
||||||
- /pool0/plex/database:/config
|
|
||||||
- /pool0/plex/transcode:/transcode
|
|
||||||
- /pool0/plex/data:/data
|
|
||||||
- /pool0/plex/media_libraries:/media_libraries
|
|
Reference in New Issue
Block a user