containerized_nodes.yml 941 B

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