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