Skip to content

Commit

Permalink
Update choice.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored Nov 2, 2019
1 parent 308b393 commit 50103d8
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions menu/version/choice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,15 @@
shell: 'cat /var/plexguide/pg.number'
register: serverid

- name: Remove Basic Directories
file: 'path={{item}} state=absent mode=0775 owner=1000 group=1000'
with_items:
- '/opt/plexguide'

- name: 'Installing Version {{serverid.stdout}}'
git:
repo: 'https://github.com/PTS-Team/PTS-Team'
dest: '/opt/plexguide'
clone: yes
version: '{{serverid.stdout}}'
force: yes
ignore_errors: yes
when: not serverid.stdout == "master"
ignore_errors: True

- name: 'Stops First Time Run'
shell: 'touch /var/plexguide/ask.yes'
register: program
register: program

0 comments on commit 50103d8

Please sign in to comment.