Merge pull request #10399 from underyx/assemble-with-prefix-and-suffix

Add prefixing and suffixing fuctionality to assemble module
This commit is contained in:
Chris Houseknecht
2016-05-31 18:16:23 -04:00
2 changed files with 26 additions and 2 deletions

View File

@@ -91,3 +91,13 @@
- "result.state == 'file'"
- "result.checksum == '505359f48c65b3904127cf62b912991d4da7ed6d'"
- name: test assemble with a header and a footer
assemble: src="{{output_dir}}/src" dest="{{output_dir}}/assembled6" header="prefix" footer="suffix"
register: result
- name: assert the fragments were assembled with a header and a footer
assert:
that:
- "result.state == 'file'"
- "result.checksum == 'c5cca6452da7b193427ea17583188f7a17df3b60'"