.papr.inventory 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [OSEv3:children]
  2. masters
  3. nodes
  4. etcd
  5. [OSEv3:vars]
  6. ansible_ssh_user=root
  7. ansible_python_interpreter=/usr/bin/python3
  8. openshift_deployment_type=origin
  9. openshift_release="{{ lookup('env', 'target_branch') }}"
  10. openshift_master_default_subdomain="{{ lookup('env', 'RHCI_ocp_node1_IP') }}.xip.io"
  11. openshift_check_min_host_disk_gb=1.5
  12. openshift_check_min_host_memory_gb=1.9
  13. openshift_portal_net=172.30.0.0/16
  14. debug_level=4
  15. my_node_group1_labels=['node-role.kubernetes.io/master=true', 'node-role.kubernetes.io/infra=true']
  16. my_node_group1={'name': 'node-config-infra-master', 'labels': {{ my_node_group1_labels }} }
  17. my_node_group2_labels=['node-role.kubernetes.io/compute=true']
  18. my_node_group2={'name': 'node-config-compute', 'labels': {{ my_node_group2_labels }} }
  19. openshift_node_groups=[{{ my_node_group1 }}, {{ my_node_group2 }}]
  20. [all:vars]
  21. # bootstrap configs
  22. openshift_master_bootstrap_auto_approve=true
  23. openshift_master_bootstrap_auto_approver_node_selector={"node-role.kubernetes.io/master":"true"}
  24. osm_controller_args={"experimental-cluster-signing-duration": ["20m"]}
  25. osm_default_node_selector="node-role.kubernetes.io/compute=true"
  26. [masters]
  27. ocp-master
  28. [etcd]
  29. ocp-master
  30. [nodes]
  31. ocp-master openshift_schedulable=true openshift_node_group_name="node-config-infra-master"
  32. ocp-node1 openshift_node_group_name="node-config-infra" openshift_node_group_name="node-config-compute"
  33. ocp-node2 openshift_node_group_name="node-config-infra" openshift_node_group_name="node-config-compute"