configure_nodes.yml 894 B

1234567891011121314151617
  1. ---
  2. - name: Configure nodes
  3. hosts: oo_nodes_to_config:!oo_containerized_master_nodes
  4. vars:
  5. openshift_node_master_api_url: "{{ hostvars[groups.oo_first_master.0].openshift.master.api_url }}"
  6. openshift_node_first_master_ip: "{{ hostvars[groups.oo_first_master.0].openshift.common.ip }}"
  7. openshift_no_proxy_internal_hostnames: "{{ hostvars | oo_select_keys(groups['oo_nodes_to_config']
  8. | union(groups['oo_masters_to_config'])
  9. | union(groups['oo_etcd_to_config'] | default([])))
  10. | oo_collect('openshift.common.hostname') | default([]) | join (',')
  11. }}"
  12. roles:
  13. - role: os_firewall
  14. - role: openshift_clock
  15. - role: openshift_node
  16. - role: tuned
  17. - role: nickhammond.logrotate