#119 inventory,qcow2: add a way to lock on a file
Merged by astepano. Opened by ttomecek.
ttomecek/standard-test-roles inventory-qcow-lock-on-a-file  into  master

Download 119.patch

I am using the inventory script directly from a playbook. The thing is
that Ansible creates a long chain of processes and if the VM's parent
process waits on its parent process, the VM is terminated sometime
during a playbook run.

This commit adds a way to lock on a presence of a file, not just a
process.

Looks good.
It would be good to point at docs how to use LOCK_ON_FILE.
Maybe add a note to README file with an example?

Absolutely! I was just waiting for feedback on design first. Will update.

updated

2 new commits added

  • inventory,qcow2: add a way to lock on a file
  • inventory,qcow2: remove noop

Thank you.

Commit 842d25d0 fixes this pull-request

Pull-Request has been merged by astepano

Pull-Request has been merged by astepano

Metadata