we are using an older version of ansible 1.4 (Because we had a problem after upgarde) on linux and targetting linux and aix
I have a question about how to : having a folder with filenames like : SAP500.4.db2istm5.DBPART000.20160628120023.001 keeping a date 20160628 in the playbook we collect a variable : eg 20160627 we only want to copy files to another directory if the file has a date equal to variable or more recent eg. 20160627-20160628-20160629... all these dates would do.. if anybody has a sample code how to achieve this, please share I have tried with date -d function but -d is not supported on aix (even in bash).. thanks for all update/help Best Regards, Guy Przytula -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f6d8eb18-f9ad-4b74-84f3-e1127b989385%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
