Bläddra i källkod

Update sample inventory with the latest changes

Tomas Sedovic 7 år sedan
förälder
incheckning
ca93151d4d

+ 2 - 1
playbooks/provisioning/openstack/README.md

@@ -9,6 +9,7 @@ etc.). The result is an environment ready for openshift-ansible.
 
 * [Ansible 2.3](https://pypi.python.org/pypi/ansible)
 * [shade](https://pypi.python.org/pypi/shade)
+* python-dns
 
 
 ## What does it do
@@ -66,7 +67,7 @@ The `openstack_num_masters`, `openstack_num_infra` and
 `openstack_num_nodes` values specify the number of Master, Infra and
 App nodes to create.
 
-The `openstack_flat_secgroup`, controls Neutron security groups creation for Heat
+The `openstack_flat_secgrp`, controls Neutron security groups creation for Heat
 stacks. Set it to true, if you experience issues with sec group rules
 quotas. It trades security for number of rules, by sharing the same set
 of firewall rules for master, node, etcd and infra nodes.

+ 1 - 1
playbooks/provisioning/openstack/sample-inventory/group_vars/OSEv3.yml

@@ -1,7 +1,7 @@
 ---
 openshift_deployment_type: openshift-enterprise
 openshift_release: v3.5
-openshift_master_default_subdomain: "apps.openshift.example.com"
+openshift_master_default_subdomain: "apps.{{ env_id }}.{{ public_dns_domain }}"
 
 # NOTE(shadower): do not remove this line, otherwise the default node labels
 # won't be set up.

+ 28 - 14
playbooks/provisioning/openstack/sample-inventory/group_vars/all.yml

@@ -1,6 +1,7 @@
 env_id: "openshift"
-openstack_dns_domain: "example.com"
-openstack_nameservers: ["192.168.1.1"]
+public_dns_domain: "example.com"
+public_dns_nameservers: []
+
 openstack_ssh_public_key: "openshift"
 openstack_default_image_name: "rhel73"
 openstack_default_flavor: "m1.medium"
@@ -12,26 +13,39 @@ openstack_num_nodes: 2
 
 docker_volume_size: "15"
 
-# TODO(shadower): this is identical to `openstack_dns_domain`.
-# We should make it so it's not duplicated here.
-dns_domain: "example.com"
-
-# TODO(shadower): this is identical to `openstack_nameservers`.
-# We should make it so it's not duplicated here.
-public_dns_forwarder: "192.168.1.1"
-
 openstack_subnet_prefix: "192.168.99"
 
 # # Red Hat subscription
+# # Using Red Hat Satellite:
 # rhsm_register: True
+# rhsm_satellite: 'sat-6.example.com'
+# rhsm_org: 'OPENSHIFT_ORG'
+# rhsm_activationkey: '<activation-key>'
+
+# # Or using RHN username, password and optionally pool:
+# rhsm_register: True
+# rhsm_username: '<username>'
+# rhsm_password: '<password>'
+# rhsm_pool: '<pool id>'
+
 # rhsm_repos:
 #  - "rhel-7-server-rpms"
 #  - "rhel-7-server-ose-3.5-rpms"
 #  - "rhel-7-server-extras-rpms"
 #  - "rhel-7-fast-datapath-rpms"
-# rhsm_username: '<username>'
-# rhsm_password: '<password>'
-# rhsm_pool: '<pool id>'
+
+
+# # Roll-your-own DNS
+# openstack_num_dns: 0
+# external_nsupdate_keys:
+#   public:
+#     key_secret: 'SKqKNdpfk7llKxZ57bbxUnUDobaaJp9t8CjXLJPl+fRI5mPcSBuxTAyvJPa6Y9R7vUg9DwCy/6WTpgLNqnV4Hg=='
+#     key_algorithm: 'hmac-md5'
+#     server: '192.168.1.1'
+#   private:
+#     key_secret: 'kVE2bVTgZjrdJipxPhID8BEZmbHD8cExlVPR+zbFpW6la8kL5wpXiwOh8q5AAosXQI5t95UXwq3Inx8QT58duw=='
+#     key_algorithm: 'hmac-md5'
+#     server: '192.168.1.2'
 
 
 # NOTE(shadower): Do not change this value. The Ansible user is currently
@@ -39,4 +53,4 @@ openstack_subnet_prefix: "192.168.99"
 ansible_user: openshift
 
 # Use a single security group for a cluster
-openstack_flat_secgroup: false
+openstack_flat_secgrp: false