Commit f06372c4 by John Jarvis

adding deploy tag

parent 9ee18e00
...@@ -3,18 +3,21 @@ ...@@ -3,18 +3,21 @@
service: name=xqueue state=stopped service: name=xqueue state=stopped
tags: tags:
- xqueue - xqueue
- deploy
# Do A Checkout # Do A Checkout
- name: git checkout xqueue repo into $app_base_dir - name: git checkout xqueue repo into $app_base_dir
git: dest={{xqueue_code_dir}} repo={{xqueue.source_repo}} version={{xqueue.version}} git: dest={{xqueue_code_dir}} repo={{xqueue.source_repo}} version={{xqueue.version}}
tags: tags:
- xqueue - xqueue
- deploy
# Do Post Checkout Tasks. # Do Post Checkout Tasks.
- name: create xqueue code dir - name: create xqueue code dir
file: path={{xqueue_code_dir}} state=directory owner=www-data group=www-data mode=755 file: path={{xqueue_code_dir}} state=directory owner=www-data group=www-data mode=755
tags: tags:
- xqueue - xqueue
- deploy
# TODO: Check git.py _run_if_changed() to see if the logic there to skip running certain # TODO: Check git.py _run_if_changed() to see if the logic there to skip running certain
...@@ -26,6 +29,7 @@ ...@@ -26,6 +29,7 @@
# Look at the handlers/main.yml in this role for a description of the tasks stated below. # Look at the handlers/main.yml in this role for a description of the tasks stated below.
tags: tags:
- xqueue - xqueue
- deploy
# want deploy handlers to always run when deploy tag is specified, so move into a no op task # want deploy handlers to always run when deploy tag is specified, so move into a no op task
- name: run deploy handlers - name: run deploy handlers
...@@ -34,3 +38,4 @@ ...@@ -34,3 +38,4 @@
- invoke all deploy handlers - invoke all deploy handlers
tags: tags:
- xqueue - xqueue
- deploy
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment