unexclude.yml 817 B

1234567891011121314151617181920212223242526
  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. register: docker_excluder_stat
  9. - name: disable docker excluder
  10. command: "/sbin/{{ r_openshift_excluder_service_type }}-docker-excluder unexclude"
  11. when:
  12. - unexclude_docker_excluder | default(false) | bool
  13. - docker_excluder_stat.stat.exists
  14. - name: Check for openshift excluder
  15. stat:
  16. path: /sbin/{{ r_openshift_excluder_service_type }}-excluder
  17. register: openshift_excluder_stat
  18. - name: disable openshift excluder
  19. command: "/sbin/{{ r_openshift_excluder_service_type }}-excluder unexclude"
  20. when:
  21. - unexclude_openshift_excluder | default(false) | bool
  22. - openshift_excluder_stat.stat.exists