and how should that work if command does not create any file?! should i create a custom script, run that by ansible?
[email protected] schrieb am Donnerstag, 5. November 2020 um 07:59:07 UTC+1: > On 11/5/20 7:50 AM, Shreya Bhardwaj wrote: > > Hello Everyone, > > > > I'm using the command module to run a few commands. > > I'm using the "creates" feature of the module as a check so that re > running of command can be prevented, but it isn't > > creating the file in the first place. > > > > what could be the possible reason of it? > > The module doesn't create the file. The idea is that the command itself > creates that file. > > Regards > Racke > > > > > Thanks > > > > -- > > 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] <mailto: > [email protected]>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/ansible-project/60336921-b23b-4b1f-9187-5ddf7dfdf648n%40googlegroups.com > > < > https://groups.google.com/d/msgid/ansible-project/60336921-b23b-4b1f-9187-5ddf7dfdf648n%40googlegroups.com?utm_medium=email&utm_source=footer > >. > > > -- > Ecommerce and Linux consulting + Perl and web application programming. > Debian and Sympa administration. Provisioning with Ansible. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d7879524-4af6-4f7a-a216-8f12e3112bb0n%40googlegroups.com.
