manage_node.yml 484 B

123456789101112
  1. ---
  2. - name: Additional node config
  3. hosts: "{{ openshift_node_scale_up_group | default('oo_nodes_to_config') }}"
  4. vars:
  5. openshift_node_master_api_url: "{{ hostvars[groups.oo_first_master.0].openshift.master.api_url }}"
  6. roles:
  7. - role: openshift_manage_node
  8. openshift_master_host: "{{ groups.oo_first_master.0 }}"
  9. tasks:
  10. - name: Create group for deployment type
  11. group_by: key=oo_nodes_deployment_type_{{ openshift.common.deployment_type }}
  12. changed_when: False