Skip to content

Commit

Permalink
Improved regex for detecting non-template yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
dirgim committed Jun 13, 2018
1 parent bc144cb commit ffa8359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbooks/roles/os_temps/tasks/setup_containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
find:
paths: "{{ os_template_path }}"
patterns: '*.yml,*.yaml'
contains: 'kind: Template|kind: \"Template\"'
contains: 'kind:\s*[\"\'']?Template[\"\'']?'
recurse: yes
register: os_templates

Expand Down

0 comments on commit ffa8359

Please sign in to comment.