All tasks should have tags

This commit is contained in:
Travis Truman 2016-03-28 14:19:41 -04:00
parent 692094c67c
commit 6bb025da71
2 changed files with 11 additions and 1 deletions

View File

@ -17,8 +17,12 @@
command: "{{ rally_bin }}/rally deployment list"
ignore_errors: true
register: rally_deployment_list_result
tags:
- rally-db-setup
- name: Create/upgrade Rally DB schema
command: "{{ rally_bin }}/rally-manage db create"
when:
- rally_deployment_list_result.stderr | search("Table 'rally.deployments' doesn't exist")
- rally_deployment_list_result.stderr | search("Table 'rally.deployments' doesn't exist")
tags:
- rally-db-setup

View File

@ -22,11 +22,15 @@
mode: "0644"
config_overrides: "{{ rally_config_overrides }}"
config_type: "ini"
tags:
- rally-config
- name: Check for existing Rally deployment
command: "{{ rally_bin }}/rally deployment list"
ignore_errors: true
register: rally_deployment_list_result
tags:
- rally-deployment-setup
- name: Setup the Rally deployment
shell: |
@ -34,3 +38,5 @@
{{ rally_bin }}/rally deployment create --fromenv --name=existing
when:
- rally_deployment_list_result.stdout | search("There are no deployments")
tags:
- rally-deployment-setup