title: pipe '|' doesn't seem to be liked on my ansible script
body: <p>I have a task to count how many files exist. Is there something wrong with the syntax?</p>
  <pre><code>task:
  - name: &quot;Getting Local File Count&quot;
    kubernetes.core.k8s_exec:
      namespace: &quot;{{namespace}}&quot;
      pod: &quot;{{pod}}&quot;
      command: &quot;find '{{local_dir}}' -type f | wc -l&quot;
    register: command_status
  </code></pre>
  <p>but after executing the playbook I get</p>
  <blockquote>
  <p>&quot;find: paths must precede expression: |&quot;,</p>
  </blockquote>