X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fansible%2Flist-tmp.yml;h=e93b373f9cc7a5fff2d03c84194646c7bfdd57f9;hb=31f44ba329b3dc6b0c04453aa411e1038521350c;hp=ca3e9968466d143d062cd2a6dfa6fd3aba6835a6;hpb=dcf965cb65e4c89e7db4f86453dfcbf9af9a967a;p=ansible.git diff --git a/playbooks/ansible/list-tmp.yml b/playbooks/ansible/list-tmp.yml index ca3e996..e93b373 100644 --- a/playbooks/ansible/list-tmp.yml +++ b/playbooks/ansible/list-tmp.yml @@ -3,7 +3,8 @@ gather_facts: false tasks: - name: List ~/.ansible/tmp - command: "ls -lAF ~/.ansible/tmp" + shell: "ls -1 ~/.ansible/tmp | wc -l" register: ls + changed_when: false - debug: msg: "{{ ls.stdout }}"