unexclude.yml 957 B

1234567891011121314151617181920212223242526272829303132
  1. ---
  2. # input variables:
  3. # - unexclude_docker_excluder
  4. # - unexclude_openshift_excluder
  5. - name: Check for docker-excluder
  6. stat:
  7. path: /sbin/{{ r_openshift_excluder_service_type }}-docker-excluder
  8. get_checksum: false
  9. get_attributes: false
  10. get_mime: false
  11. register: docker_excluder_stat
  12. - name: disable docker excluder
  13. command: "/sbin/{{ r_openshift_excluder_service_type }}-docker-excluder unexclude"
  14. when:
  15. - unexclude_docker_excluder | default(false) | bool
  16. - docker_excluder_stat.stat.exists
  17. - name: Check for openshift excluder
  18. stat:
  19. path: /sbin/{{ r_openshift_excluder_service_type }}-excluder
  20. get_checksum: false
  21. get_attributes: false
  22. get_mime: false
  23. register: openshift_excluder_stat
  24. - name: disable openshift excluder
  25. command: "/sbin/{{ r_openshift_excluder_service_type }}-excluder unexclude"
  26. when:
  27. - unexclude_openshift_excluder | default(false) | bool
  28. - openshift_excluder_stat.stat.exists