All tasks should have tags
This commit is contained in:
parent
692094c67c
commit
6bb025da71
@ -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
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user