commit | db18a48b1cd8041404cd2d99280f28243de6c4cd | [log] [tgz] |
---|---|---|
author | Vladislav Naumov <vnaumov@mirantis.com> | Wed Aug 16 16:44:38 2017 +0300 |
committer | Michael Ivanov <mivanov@mirantis.com> | Wed Aug 30 11:27:44 2017 +0000 |
tree | 2109e2785d45ddd93a1758e572131d170706a3a1 | |
parent | 190cdc317c0402a5b35ebd6fc7d56bb5c61e0f30 [diff] |
add yaml-plain-text support to avoid issues when u want to define multi-line var, ex: variable: | foo bar fobaaar related bug: https://mirantis.jira.com/browse/PROD-12806 Change-Id: I6fdd42b39ad06ff5849125de71738358c234d316
diff --git a/rundeck/client/secret.sls b/rundeck/client/secret.sls index 7625bfb..d6ffb2d 100644 --- a/rundeck/client/secret.sls +++ b/rundeck/client/secret.sls
@@ -10,7 +10,7 @@ rundeck_secret.present: - name: {{ path }} - type: {{ secret['type'] }} - - content: {{ secret['content'] }} + - content: {{ secret['content'] | yaml_encode }} {%- if grains.get('noservices', False) %} - onlyif: 'false' {%- endif %}