Created
February 21, 2019 19:48
-
-
Save evrardjp/22401abf39a9a901a38ee1ee96111db0 to your computer and use it in GitHub Desktop.
config template example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set_fact: | |
foo_contents: "{{ lookup('template','foo.yaml') }}" # or , if non local, slurp the file and b64decode first | |
# use config template | |
config_template: | |
src: 'bar.yaml' | |
dest: 'bar.yaml' | |
config_overrides: "{{ foo_contents }}" | |
config_type: yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment