I have been looking for a module for something similar to the du command. I would like to have a play that looks at the log directory to detect if it's a certian size or larger and if so find the sub folders with gbs of data and remove or tar that data up.
So far I am not finding that and parsing the return of the du command is not is not somethig I am having luck with. Has anyone tried to do something similar? Have any ideas or pointers for me? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/27c07b39-4955-4645-8e61-e68b96872da6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.