Advertisement
SanabriaRusso

user variables

May 16th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.58 KB | None | 0 0
  1. ---
  2. # Copyright 2014, Rackspace US, Inc.
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15.  
  16. ###
  17. ### This file contains commonly used overrides for convenience. Please inspect
  18. ### the defaults for each role to find additional override options.
  19. ###
  20.  
  21. ## Debug and Verbose options.
  22. debug: false
  23.  
  24. ## Set the service setup host
  25. # The default is to use localhost (the deploy host where ansible runs),
  26. # but any other host can be used. If using an alternative host with all
  27. # required libraries in a venv (eg: the utility container) then the
  28. # python interpreter needs to be set. If it is not, the default is to
  29. # the system python interpreter.
  30. # If you wish to use the first utility container in the inventory for
  31. # all service setup tasks, uncomment the following.
  32. #
  33. #openstack_service_setup_host: "{{ groups['utility_all'][0] }}"
  34. #openstack_service_setup_host_python_interpreter: "/openstack/venvs/utility-{{ openstack_release }}/bin/python"
  35.  
  36. ## Installation method for OpenStack services
  37. # Default option (source) is to install the OpenStack services using PIP
  38. # packages. An alternative method (distro) is to use the distribution cloud
  39. # repositories to install OpenStack using distribution packages
  40. install_method: source
  41.  
  42. ## Common Glance Overrides
  43. # Set glance_default_store to "swift" if using Cloud Files backend
  44. # or "rbd" if using ceph backend; the latter will trigger ceph to get
  45. # installed on glance. If using a file store, a shared file store is
  46. # recommended. See the OpenStack-Ansible install guide and the OpenStack
  47. # documentation for more details.
  48. # Note that "swift" is automatically set as the default back-end if there
  49. # are any swift hosts in the environment. Use this setting to override
  50. # this automation if you wish for a different default back-end.
  51. # glance_default_store: file
  52.  
  53. ## Ceph pool name for Glance to use
  54. # glance_rbd_store_pool: images
  55. # glance_rbd_store_chunk_size: 8
  56.  
  57. ## Common Nova Overrides
  58. # When nova_libvirt_images_rbd_pool is defined, ceph will be installed on nova
  59. # hosts.
  60. # nova_libvirt_images_rbd_pool: vms
  61.  
  62. # If you wish to change the dhcp_domain configured for both nova and neutron
  63. # dhcp_domain: openstacklocal
  64.  
  65. ## Common Glance Overrides when using a Swift back-end
  66. # By default when 'glance_default_store' is set to 'swift' the playbooks will
  67. # expect to use the Swift back-end that is configured in the same inventory.
  68. # If the Swift back-end is not in the same inventory (ie it is already setup
  69. # through some other means) then these settings should be used.
  70. #
  71. # NOTE: Ensure that the auth version matches your authentication endpoint.
  72. #
  73. # NOTE: If the password for glance_swift_store_key contains a dollar sign ($),
  74. # it must be escaped with an additional dollar sign ($$), not a backslash. For
  75. # example, a password of "super$ecure" would need to be entered as
  76. # "super$$ecure" below. See Launchpad Bug #1259729 for more details.
  77. #
  78. # glance_swift_store_auth_version: 3
  79. # glance_swift_store_auth_address: "https://some.auth.url.com"
  80. # glance_swift_store_user: "OPENSTACK_TENANT_ID:OPENSTACK_USER_NAME"
  81. # glance_swift_store_key: "OPENSTACK_USER_PASSWORD"
  82. # glance_swift_store_container: "NAME_OF_SWIFT_CONTAINER"
  83. # glance_swift_store_region: "NAME_OF_REGION"
  84.  
  85. ## Common Ceph Overrides
  86. # ceph_mons:
  87. # - 10.16.5.40
  88. # - 10.16.5.41
  89. # - 10.16.5.42
  90.  
  91. ## Custom Ceph Configuration File (ceph.conf)
  92. # By default, your deployment host will connect to one of the mons defined above to
  93. # obtain a copy of your cluster's ceph.conf. If you prefer, uncomment ceph_conf_file
  94. # and customise to avoid ceph.conf being copied from a mon.
  95. # ceph_conf_file: |
  96. # [global]
  97. # fsid = 00000000-1111-2222-3333-444444444444
  98. # mon_initial_members = mon1.example.local,mon2.example.local,mon3.example.local
  99. # mon_host = 10.16.5.40,10.16.5.41,10.16.5.42
  100. # # optionally, you can use this construct to avoid defining this list twice:
  101. # # mon_host = {{ ceph_mons|join(',') }}
  102. # auth_cluster_required = cephx
  103. # auth_service_required = cephx
  104.  
  105.  
  106. # By default, openstack-ansible configures all OpenStack services to talk to
  107. # RabbitMQ over encrypted connections on port 5671. To opt-out of this default,
  108. # set the rabbitmq_use_ssl variable to 'false'. The default setting of 'true'
  109. # is highly recommended for securing the contents of RabbitMQ messages.
  110. # rabbitmq_use_ssl: false
  111.  
  112. # RabbitMQ management plugin is enabled by default, the guest user has been
  113. # removed for security reasons and a new userid 'monitoring' has been created
  114. # with the 'monitoring' user tag. In order to modify the userid, uncomment the
  115. # following and change 'monitoring' to your userid of choice.
  116. # rabbitmq_monitoring_userid: monitoring
  117.  
  118.  
  119. ## Additional pinning generator that will allow for more packages to be pinned as you see fit.
  120. ## All pins allow for package and versions to be defined. Be careful using this as versions
  121. ## are always subject to change and updates regarding security will become your problem from this
  122. ## point on. Pinning can be done based on a package version, release, or origin. Use "*" in the
  123. ## package name to indicate that you want to pin all package to a particular constraint.
  124. # apt_pinned_packages:
  125. # - { package: "lxc", version: "1.0.7-0ubuntu0.1" }
  126. # - { package: "libvirt-bin", version: "1.2.2-0ubuntu13.1.9" }
  127. # - { package: "rabbitmq-server", origin: "www.rabbitmq.com" }
  128. # - { package: "*", release: "MariaDB" }
  129.  
  130.  
  131. ## Environment variable settings
  132. # This allows users to specify the additional environment variables to be set
  133. # which is useful in setting where you working behind a proxy. If working behind
  134. # a proxy It's important to always specify the scheme as "http://". This is what
  135. # the underlying python libraries will handle best. This proxy information will be
  136. # placed both on the hosts and inside the containers.
  137.  
  138. ## Example environment variable setup:
  139. ## This is used by apt-cacher-ng to download apt packages:
  140. # proxy_env_url: http://username:pa$$w0rd@10.10.10.9:9000/
  141.  
  142. ## (1) This sets up a permanent environment, used during and after deployment:
  143. # no_proxy_env: "localhost,127.0.0.1,{{ internal_lb_vip_address }},{{ external_lb_vip_address }},{% for host in groups['all_containers'] %}{{ hostvars[host]['container_address'] }}{% if not loop.last %},{% endif %}{% endfor %}"
  144. # global_environment_variables:
  145. # HTTP_PROXY: "{{ proxy_env_url }}"
  146. # HTTPS_PROXY: "{{ proxy_env_url }}"
  147. # NO_PROXY: "{{ no_proxy_env }}"
  148. # http_proxy: "{{ proxy_env_url }}"
  149. # https_proxy: "{{ proxy_env_url }}"
  150. # no_proxy: "{{ no_proxy_env }}"
  151. #
  152. ## (2) This is applied only during deployment, nothing is left after deployment is complete:
  153. # deployment_environment_variables:
  154. # http_proxy: "{{ proxy_env_url }}"
  155. # https_proxy: "{{ proxy_env_url }}"
  156. # no_proxy: "localhost,127.0.0.1,{{ internal_lb_vip_address }},{{ external_lb_vip_address }},{% for host in groups['keystone_all'] %}{{ hostvars[host]['container_address'] }}{% if not loop.last %},{% endif %}{% endfor %}"
  157.  
  158.  
  159. ## SSH connection wait time
  160. # If an increased delay for the ssh connection check is desired,
  161. # uncomment this variable and set it appropriately.
  162. #ssh_delay: 5
  163.  
  164.  
  165. ## HAProxy and keepalived
  166. # All the previous variables are used inside a var, in the group vars.
  167. # You can override the current keepalived definition (see
  168. # group_vars/all/keepalived.yml) in your user space if necessary.
  169. #
  170. # Uncomment this to disable keepalived installation (cf. documentation)
  171. # haproxy_use_keepalived: False
  172. #
  173. # HAProxy Keepalived configuration (cf. documentation)
  174. # Make sure that this is set correctly according to the CIDR used for your
  175. # internal and external addresses.
  176. # haproxy_keepalived_external_vip_cidr: "{{external_lb_vip_address}}/32"
  177. # haproxy_keepalived_internal_vip_cidr: "{{internal_lb_vip_address}}/32"
  178. # haproxy_keepalived_external_interface:
  179. # haproxy_keepalived_internal_interface:
  180.  
  181. # Defines the default VRRP id used for keepalived with haproxy.
  182. # Overwrite it to your value to make sure you don't overlap
  183. # with existing VRRPs id on your network. Default is 10 for the external and 11 for the
  184. # internal VRRPs
  185. # haproxy_keepalived_external_virtual_router_id:
  186. # haproxy_keepalived_internal_virtual_router_id:
  187.  
  188. # Defines the VRRP master/backup priority. Defaults respectively to 100 and 20
  189. # haproxy_keepalived_priority_master:
  190. # haproxy_keepalived_priority_backup:
  191.  
  192. # Keepalived default IP address used to check its alive status (IPv4 only)
  193. # keepalived_ping_address: "193.0.14.129"
  194. #
  195. # Neutron Configuration
  196. neutron_dnsmasq_force_metadata: True
  197. ###
  198. ### Metadata Agent Plugin Configuration
  199. ###
  200.  
  201. # If ``neutron_metadata_workers`` is unset the system will use half the number of available VCPUs to
  202. # compute the number of api workers to use with a default capping value of 16.
  203. # neutron_metadata_workers: 16
  204. neutron_metadata_backlog: 4096
  205.  
  206. # The protocol used by neutron to access the nova metadata service.
  207. nova_metadata_protocol: http
  208.  
  209. # If the nova_metadata_protocol is using a self-signed cert, then
  210. # this flag should be set to a boolean True.
  211. nova_metadata_insecure: True
  212.  
  213. ## OpenStack public endpoint protocol
  214. openstack_service_publicuri_proto: http
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement