Skip to content

Commit

Permalink
Update choice.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Nov 2, 2019
1 parent d5934d4 commit 308b393
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion menu/version/choice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@
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
when: not serverid.stdout == "edge"
ignore_errors: yes

- name: 'Stops First Time Run'
Expand Down

0 comments on commit 308b393

Please sign in to comment.