From f34f76f426ce22d5322bdd94b1b1f0882ef03eab Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 7 Aug 2019 01:25:08 +0300 Subject: [PATCH] Feat(ansible/list-tmp): Count temp directories --- playbooks/ansible/list-tmp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/ansible/list-tmp.yml b/playbooks/ansible/list-tmp.yml index 8e9f9c7..e93b373 100644 --- a/playbooks/ansible/list-tmp.yml +++ b/playbooks/ansible/list-tmp.yml @@ -3,7 +3,7 @@ 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: -- 2.39.2