unfetter icon indicating copy to clipboard operation
unfetter copied to clipboard

All "command" modules should have a dependancy

Open infosec-alchemist opened this issue 5 years ago • 0 comments

Ansible "command" module should only be run IF a check has been made OR if its run as a handler.

This is to support indempotence with the playbook. Constantly rerunning the command when its unnecessary is not the right way to do it.

https://github.com/ansible/ansible-lint/blob/master/lib/ansiblelint/rules/CommandHasChangesCheckRule.py

Rearchitect the following files:

  • [ ] gateway/tasks/task-build-release.yml
  • [ ] task-clear-containers.yml
  • [ ] task-push-registry
  • [ ] post-deploy.yml
  • [ ] task-backup-vol-container.yml
  • [ ] task-build-deploy.yml
  • [ ] task-clear-containers.yml
  • [ ] task-push-registry.yml

infosec-alchemist avatar Nov 01 '18 19:11 infosec-alchemist