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 1, 2019
1 parent 797fb6c commit 78240e1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions menu/version/choice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@
- hosts: localhost
gather_facts: false
tasks:
- name: 'Installing Version'
- name: Register Project
shell: 'cat /var/plexguide/pg.number'
register: serverid

- name: 'Installing Version {{serverid.stdout}}'
git:
repo: 'https://github.com/PTS-Team/PTS-Team'
dest: '/opt/plexguide'
version: 'master'
version: '{{serverid.stdout}}'
force: 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 78240e1

Please sign in to comment.