tests: import template benchmark script.

This commit is contained in:
David Wilson 2018-08-20 13:44:33 +01:00
parent 84521b714f
commit 8e9b5ad576
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
- hosts: all
tasks:
- file:
dest: /tmp/templates
state: "{{item}}"
with_items: ["absent", "directory"]
- copy:
dest: /tmp/templates/{{item}}
mode: 0755
content:
Hello from {{item}}
with_sequence: start=1 end=20