Use tripleo linear when not using tripleo free
In order to handle percentage failures for tripleo classes we will need to use a custom strategy to handle the failures. Let's explicitly define our expected strategies in the playbook so it'll default to linear (the ansible default) on the host when ansible is invoked but our deployment tasks will be run as we want them. Depends-On: https://review.opendev.org/#/c/724766/ Change-Id: Ifaddeccfbb82e03815311ee0b76eb2e2eae282a7
This commit is contained in:
parent
af30d7d290
commit
029722ef1f
@ -33,6 +33,7 @@
|
||||
- always
|
||||
|
||||
- hosts: "{{ deploy_target_host }}"
|
||||
strategy: tripleo_linear
|
||||
name: Ensure /var/lib/config-data context
|
||||
become: true
|
||||
gather_facts: false
|
||||
|
@ -452,6 +452,7 @@ outputs:
|
||||
deploy_target_host: "DEPLOY_TARGET_HOST"
|
||||
|
||||
- hosts: DEPLOY_TARGET_HOST
|
||||
strategy: tripleo_linear
|
||||
name: Manage SELinux
|
||||
gather_facts: "{% raw %}{{ gather_facts | default(false) }}{% endraw %}"
|
||||
any_errors_fatal: yes
|
||||
@ -463,6 +464,7 @@ outputs:
|
||||
state: SELINUX_MODE
|
||||
|
||||
- hosts: all
|
||||
strategy: tripleo_linear
|
||||
name: Generate /etc/hosts
|
||||
gather_facts: "{% raw %}{{ gather_facts | default(false) }}{% endraw %}"
|
||||
any_errors_fatal: yes
|
||||
@ -478,6 +480,7 @@ outputs:
|
||||
{% endraw %}
|
||||
|
||||
- hosts: DEPLOY_TARGET_HOST
|
||||
strategy: tripleo_linear
|
||||
name: Common roles for TripleO servers
|
||||
gather_facts: "{% raw %}{{ gather_facts | default(false) }}{% endraw %}"
|
||||
any_errors_fatal: yes
|
||||
@ -830,6 +833,7 @@ outputs:
|
||||
{% endraw %}
|
||||
|
||||
- hosts: DEPLOY_SOURCE_HOST
|
||||
strategy: tripleo_linear
|
||||
name: External deployment Post Deploy tasks
|
||||
gather_facts: "{% raw %}{{ gather_facts | default(false) }}{% endraw %}"
|
||||
any_errors_fatal: yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user