aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/upgrade_config.yaml
diff options
context:
space:
mode:
authorSteven Hardy <shardy@redhat.com>2017-01-23 11:46:58 +0000
committermarios <marios@redhat.com>2017-01-26 09:49:14 +0200
commitf1c2675073be057677d909d2ac2829c0f34e601b (patch)
treeac01358ebd77b4f9e019e650ca268c2a87ab4ea2 /puppet/upgrade_config.yaml
parenta04adaa5b8cce997a7bcd523f7dd92f0bc87a865 (diff)
Add SkipUpgradeConfigTags for upgrade config
It may be that we want ways to selectively disable certain tasks, such as pre-flight validations that might fail when restarting an upgrade from a failed state. This shows a way we might do that. Depends-On: I18214f80be9f3ad6c2d385fc00f3b786d3e7dda3 Change-Id: Ibffaaf1de0baf47a0450daa5b7cbb57d38746556
Diffstat (limited to 'puppet/upgrade_config.yaml')
-rw-r--r--puppet/upgrade_config.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/upgrade_config.yaml b/puppet/upgrade_config.yaml
index e892d81..c37cc03 100644
--- a/puppet/upgrade_config.yaml
+++ b/puppet/upgrade_config.yaml
@@ -11,6 +11,11 @@ parameters:
type: string
description: Step number of the upgrade
+ SkipUpgradeConfigTags:
+ type: comma_delimited_list
+ description: Ansible tags to skip during upgrade, e.g validation skips pre-upgrade validations
+ default: []
+
resources:
AnsibleConfig:
@@ -30,6 +35,10 @@ resources:
properties:
group: ansible
options:
+ skip_tags:
+ list_join:
+ - ","
+ - {get_param: SkipUpgradeConfigTags}
tags:
str_replace:
template: "stepSTEP"