Ensure idempotence even if using bash resouce.