initial commit
diff --git a/tasks/main.yml b/tasks/main.yml
index 09e7883..f4836dc 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -4,7 +4,7 @@
   - name: Collect all bash scripts
     find:
       paths: '{{ apigee_installation_home }}'
-      contains: '^{{ bash_regex }}$'
+      contains: '^{{ bash_regex }}'
     register: debug_scripts
 
   - name: Examine debug_scripts
@@ -26,7 +26,7 @@
   - name: Collect all bash scripts
     find:
       paths: '{{ apigee_installation_home }}'
-      contains: '^{{ bash_regex }} -x$'
+      contains: '^{{ bash_regex }} -x'
     register: debug_scripts
 
   - name: Add debug flag