config.yml 378 B

1234567891011
  1. ---
  2. - name: Set node schedulability
  3. oc_adm_manage_node:
  4. node: "{{ openshift.node.nodename | lower }}"
  5. schedulable: "{{ 'true' if openshift_schedulable | default(true) | bool else 'false' }}"
  6. retries: 10
  7. delay: 5
  8. register: node_schedulable
  9. until: node_schedulable is succeeded
  10. when: "'nodename' in openshift.node"
  11. delegate_to: "{{ openshift_master_host }}"