Delegate and run once debug start-at-task messages
Instead of executing these debug tasks for every host, we can delegate them to localhost and only run them once. Change-Id: I367db4c9e743c77f121751ecca6bb4996b8a3df9
This commit is contained in:
parent
87e34336f3
commit
a85d3d7069
@ -488,6 +488,8 @@ outputs:
|
||||
# named debug task for --start-at-task.
|
||||
pre_tasks:
|
||||
- name: Common roles for TripleO servers
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
debug:
|
||||
msg: Use --start-at-task 'Common roles for TripleO servers' to resume from this task
|
||||
roles:
|
||||
@ -567,6 +569,8 @@ outputs:
|
||||
any_errors_fatal: yes
|
||||
tasks:
|
||||
- name: Server deployments
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
debug:
|
||||
msg: Use --start-at-task 'Server deployments' to resume from this task
|
||||
- include_tasks: deployments.yaml
|
||||
@ -705,6 +709,8 @@ outputs:
|
||||
docker_puppet_mount_host_puppet: DOCKER_PUPPET_MOUNT_HOST_PUPPET
|
||||
tasks:
|
||||
- name: {{role.name}} Host prep steps
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
debug:
|
||||
msg: Use --start-at-task '{{role.name}} Host prep steps' to resume from this task
|
||||
- import_tasks: {{role.name}}/host_prep_tasks.yaml
|
||||
@ -734,6 +740,8 @@ outputs:
|
||||
docker_puppet_mount_host_puppet: DOCKER_PUPPET_MOUNT_HOST_PUPPET
|
||||
tasks:
|
||||
- name: External deployment step {{step}}
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
debug:
|
||||
msg: Use --start-at-task 'External deployment step {{step}}' to resume from this task
|
||||
- import_tasks: external_deploy_steps_tasks.yaml
|
||||
@ -769,6 +777,8 @@ outputs:
|
||||
force: true
|
||||
mode: '0600'
|
||||
- name: Deploy step tasks for {{step}}
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
debug:
|
||||
msg: Use --start-at-task 'Deploy step tasks for {{step}}' to resume from this task
|
||||
{%- for role in roles %}
|
||||
@ -829,6 +839,8 @@ outputs:
|
||||
docker_puppet_mount_host_puppet: DOCKER_PUPPET_MOUNT_HOST_PUPPET
|
||||
tasks:
|
||||
- name: Overcloud common deploy step tasks {{step}}
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
debug:
|
||||
msg: Use --start-at-task 'Overcloud common deploy step tasks {{step}}' to resume from this task
|
||||
- name: Check if /var/lib/tripleo-config/container-startup-config-1.json already exists
|
||||
@ -850,6 +862,8 @@ outputs:
|
||||
any_errors_fatal: yes
|
||||
tasks:
|
||||
- name: Server Post Deployments
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
debug:
|
||||
msg: Use --start-at-task 'Server Post Deployments' to resume from this task
|
||||
- include_tasks: deployments.yaml
|
||||
@ -878,6 +892,8 @@ outputs:
|
||||
docker_puppet_mount_host_puppet: DOCKER_PUPPET_MOUNT_HOST_PUPPET
|
||||
tasks:
|
||||
- name: External deployment Post Deploy tasks
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
debug:
|
||||
msg: Use --start-at-task 'External deployment Post Deploy tasks' to resume from this task
|
||||
- import_tasks: external_post_deploy_steps_tasks.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user