You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

512 lines
20 KiB

6 years ago
6 years ago
  1. ---
  2. # Use proxycommand if bastion host is in group all
  3. # This change obseletes editing ansible.cfg file depending on bastion existance
  4. ansible_ssh_common_args: "{% if 'bastion' in groups['all'] %} -o ProxyCommand='ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -W %h:%p {{ hostvars['bastion']['ansible_user'] }}@{{ hostvars['bastion']['ansible_host'] }} {% if ansible_ssh_private_key_file is defined %}-i {{ ansible_ssh_private_key_file }}{% endif %} ' {% endif %}"
  5. kube_api_anonymous_auth: true
  6. # Default value, but will be set to true automatically if detected
  7. is_atomic: false
  8. # optional disable the swap
  9. disable_swap: true
  10. ## Change this to use another Kubernetes version, e.g. a current beta release
  11. kube_version: v1.15.2
  12. ## The minimum version working
  13. kube_version_min_required: v1.14.0
  14. ## Kube Proxy mode One of ['iptables','ipvs']
  15. kube_proxy_mode: ipvs
  16. ## Delete kube-proxy daemonset if kube_proxy_remove set, e.g. kube_network_plugin providing proxy services
  17. kube_proxy_remove: "{{ (kube_network_plugin == 'kube-router') and (kube_router_run_service_proxy is defined and kube_router_run_service_proxy)| bool }}"
  18. # A string slice of values which specify the addresses to use for NodePorts.
  19. # Values may be valid IP blocks (e.g. 1.2.3.0/24, 1.2.3.4/32).
  20. # The default empty string slice ([]) means to use all local addresses.
  21. # kube_proxy_nodeport_addresses_cidr is retained for legacy config
  22. kube_proxy_nodeport_addresses: >-
  23. {%- if kube_proxy_nodeport_addresses_cidr is defined -%}
  24. [{{ kube_proxy_nodeport_addresses_cidr }}]
  25. {%- else -%}
  26. []
  27. {%- endif -%}
  28. # Set to true to allow pre-checks to fail and continue deployment
  29. ignore_assert_errors: false
  30. # nginx-proxy configure
  31. nginx_config_dir: "/etc/nginx"
  32. # haproxy configure
  33. haproxy_config_dir: "/etc/haproxy"
  34. # Directory where the binaries will be installed
  35. bin_dir: /usr/local/bin
  36. docker_bin_dir: /usr/bin
  37. containerd_bin_dir: /usr/bin
  38. etcd_data_dir: /var/lib/etcd
  39. # Where the binaries will be downloaded.
  40. # Note: ensure that you've enough disk space (about 1G)
  41. local_release_dir: "/tmp/releases"
  42. # Random shifts for retrying failed ops like pushing/downloading
  43. retry_stagger: 5
  44. # Install epel repo on Centos/RHEL
  45. epel_enabled: false
  46. # DNS configuration.
  47. # Kubernetes cluster name, also will be used as DNS domain
  48. cluster_name: cluster.local
  49. # Subdomains of DNS domain to be resolved via /etc/resolv.conf for hostnet pods
  50. ndots: 2
  51. # Can be coredns, coredns_dual, manual, or none
  52. dns_mode: coredns
  53. # Enable nodelocal dns cache
  54. enable_nodelocaldns: true
  55. nodelocaldns_ip: 169.254.25.10
  56. nodelocaldns_health_port: 9254
  57. # Should be set to a cluster IP if using a custom cluster DNS
  58. manual_dns_server: ""
  59. # Can be docker_dns, host_resolvconf or none
  60. resolvconf_mode: docker_dns
  61. # Deploy netchecker app to verify DNS resolve as an HTTP service
  62. deploy_netchecker: false
  63. # Ip address of the kubernetes DNS service (called skydns for historical reasons)
  64. skydns_server: "{{ kube_service_addresses|ipaddr('net')|ipaddr(3)|ipaddr('address') }}"
  65. skydns_server_secondary: "{{ kube_service_addresses|ipaddr('net')|ipaddr(4)|ipaddr('address') }}"
  66. dns_domain: "{{ cluster_name }}"
  67. kube_dns_servers:
  68. coredns: ["{{skydns_server}}"]
  69. coredns_dual: "{{[skydns_server] + [ skydns_server_secondary ]}}"
  70. manual: ["{{manual_dns_server}}"]
  71. dns_servers: "{{kube_dns_servers[dns_mode]}}"
  72. enable_coredns_k8s_external: false
  73. coredns_k8s_external_zone: k8s_external.local
  74. enable_coredns_k8s_endpoint_pod_names: false
  75. # Kubernetes configuration dirs and system namespace.
  76. # Those are where all the additional config stuff goes
  77. # the kubernetes normally puts in /srv/kubernetes.
  78. # This puts them in a sane location and namespace.
  79. # Editing those values will almost surely break something.
  80. kube_config_dir: /etc/kubernetes
  81. kube_script_dir: "{{ bin_dir }}/kubernetes-scripts"
  82. kube_manifest_dir: "{{ kube_config_dir }}/manifests"
  83. # This is where all the cert scripts and certs will be located
  84. kube_cert_dir: "{{ kube_config_dir }}/ssl"
  85. # compatibility directory for kubeadm
  86. kube_cert_compat_dir: "/etc/kubernetes/pki"
  87. # This is where all of the bearer tokens will be stored
  88. kube_token_dir: "{{ kube_config_dir }}/tokens"
  89. # This is where to save basic auth file
  90. kube_users_dir: "{{ kube_config_dir }}/users"
  91. # This is the group that the cert creation scripts chgrp the
  92. # cert files to. Not really changeable...
  93. kube_cert_group: kube-cert
  94. # Cluster Loglevel configuration
  95. kube_log_level: 2
  96. # Users to create for basic auth in Kubernetes API via HTTP
  97. kube_api_pwd: "changeme"
  98. kube_users:
  99. kube:
  100. pass: "{{kube_api_pwd}}"
  101. role: admin
  102. # Choose network plugin (cilium, calico, weave or flannel)
  103. # Can also be set to 'cloud', which lets the cloud provider setup appropriate routing
  104. kube_network_plugin: calico
  105. kube_network_plugin_multus: false
  106. # Determines if calico-rr group exists
  107. peer_with_calico_rr: "{{ 'calico-rr' in groups and groups['calico-rr']|length > 0 }}"
  108. # Set to false to disable calico-upgrade
  109. calico_upgrade_enabled: true
  110. # Kubernetes internal network for services, unused block of space.
  111. kube_service_addresses: 10.233.0.0/18
  112. # internal network. When used, it will assign IP
  113. # addresses from this range to individual pods.
  114. # This network must be unused in your network infrastructure!
  115. kube_pods_subnet: 10.233.64.0/18
  116. # internal network node size allocation (optional). This is the size allocated
  117. # to each node on your network. With these defaults you should have
  118. # room for 64 nodes with 254 pods per node.
  119. # Example: Up to 256 nodes, 100 pods per node (/16 network):
  120. # - kube_service_addresses: 10.233.0.0/17
  121. # - kube_pods_subnet: 10.233.128.0/17
  122. # - kube_network_node_prefix: 25
  123. # Example: Up to 4096 nodes, 100 pods per node (/12 network):
  124. # - kube_service_addresses: 10.192.0.0/13
  125. # - kube_pods_subnet: 10.200.0.0/13
  126. # - kube_network_node_prefix: 25
  127. kube_network_node_prefix: 24
  128. # The virtual cluster IP, real host IPs and ports the API Server will be
  129. # listening on.
  130. # NOTE: loadbalancer_apiserver_localhost somewhat alters the final API enpdoint
  131. # access IP value (automatically evaluated below)
  132. kube_apiserver_ip: "{{ kube_service_addresses|ipaddr('net')|ipaddr(1)|ipaddr('address') }}"
  133. kube_apiserver_bind_address: 0.0.0.0
  134. # https
  135. kube_apiserver_port: 6443
  136. # http
  137. kube_apiserver_insecure_bind_address: 127.0.0.1
  138. kube_apiserver_insecure_port: 0
  139. # If non-empty, will use this string as identification instead of the actual hostname
  140. kube_override_hostname: >-
  141. {%- if cloud_provider is defined and cloud_provider in [ 'aws' ] -%}
  142. {%- else -%}
  143. {{ inventory_hostname }}
  144. {%- endif -%}
  145. # dynamic kubelet configuration
  146. dynamic_kubelet_configuration: false
  147. # define kubelet config dir for dynamic kubelet
  148. # kubelet_config_dir:
  149. default_kubelet_config_dir: "{{ kube_config_dir }}/dynamic_kubelet_dir"
  150. dynamic_kubelet_configuration_dir: "{{ kubelet_config_dir | default(default_kubelet_config_dir) }}"
  151. # Aggregator
  152. kube_api_aggregator_routing: false
  153. # Profiling
  154. kube_profiling: false
  155. # Container for runtime
  156. container_manager: docker
  157. ## Uncomment this if you want to force overlay/overlay2 as docker storage driver
  158. ## Please note that overlay2 is only supported on newer kernels
  159. # docker_storage_options: -s overlay2
  160. ## Enable docker_container_storage_setup, it will configure devicemapper driver on Centos7 or RedHat7.
  161. docker_container_storage_setup: false
  162. ## It must be define a disk path for docker_container_storage_setup_devs.
  163. ## Otherwise docker-storage-setup will be executed incorrectly.
  164. # docker_container_storage_setup_devs: /dev/vdb
  165. ## Uncomment this if you have more than 3 nameservers, then we'll only use the first 3.
  166. docker_dns_servers_strict: false
  167. # Path used to store Docker data
  168. docker_daemon_graph: "/var/lib/docker"
  169. ## Used to set docker daemon iptables options to true
  170. docker_iptables_enabled: "false"
  171. # Docker log options
  172. # Rotate container stderr/stdout logs at 50m and keep last 5
  173. docker_log_opts: "--log-opt max-size=50m --log-opt max-file=5"
  174. ## A list of insecure docker registries (IP address or domain name), for example
  175. ## to allow insecure-registry access to self-hosted registries. Empty by default.
  176. # docker_insecure_registries:
  177. # - mirror.registry.io
  178. # - 172.19.16.11
  179. docker_insecure_registries: []
  180. ## A list of additional registry mirrors, for example China registry mirror. Empty by default.
  181. # docker_registry_mirrors:
  182. # - https://registry.docker-cn.com
  183. # - https://mirror.aliyuncs.com
  184. docker_registry_mirrors: []
  185. ## If non-empty will override default system MounFlags value.
  186. ## This option takes a mount propagation flag: shared, slave
  187. ## or private, which control whether mounts in the file system
  188. ## namespace set up for docker will receive or propagate mounts
  189. ## and unmounts. Leave empty for system default
  190. # docker_mount_flags:
  191. ## A string of extra options to pass to the docker daemon.
  192. # docker_options: ""
  193. ## A list of plugins to install using 'docker plugin install --grant-all-permissions'
  194. ## Empty by default so no plugins will be installed.
  195. docker_plugins: []
  196. # Experimental kubeadm etcd deployment mode. Available only for new deployment
  197. etcd_kubeadm_enabled: false
  198. # Containerd options
  199. containerd_use_systemd_cgroup: false
  200. # Settings for containerized control plane (etcd/kubelet/secrets)
  201. # deployment type for legacy etcd mode
  202. etcd_deployment_type: docker
  203. cert_management: script
  204. helm_deployment_type: host
  205. # Make a copy of kubeconfig on the host that runs Ansible in {{ inventory_dir }}/artifacts
  206. kubeconfig_localhost: false
  207. # Download kubectl onto the host that runs Ansible in {{ bin_dir }}
  208. kubectl_localhost: false
  209. # Define credentials_dir here so it can be overridden
  210. credentials_dir: "{{ inventory_dir }}/credentials"
  211. # K8s image pull policy (imagePullPolicy)
  212. k8s_image_pull_policy: IfNotPresent
  213. # Kubernetes dashboard
  214. # RBAC required. see docs/getting-started.md for access details.
  215. dashboard_enabled: true
  216. # Addons which can be enabled
  217. helm_enabled: false
  218. registry_enabled: false
  219. metrics_server_enabled: false
  220. enable_network_policy: true
  221. local_volume_provisioner_enabled: "{{ local_volumes_enabled | default('false') }}"
  222. local_volume_provisioner_directory_mode: 0700
  223. persistent_volumes_enabled: false
  224. cephfs_provisioner_enabled: false
  225. rbd_provisioner_enabled: false
  226. ingress_nginx_enabled: false
  227. cert_manager_enabled: false
  228. expand_persistent_volumes: false
  229. ## When OpenStack is used, Cinder version can be explicitly specified if autodetection fails (Fixed in 1.9: https://github.com/kubernetes/kubernetes/issues/50461)
  230. # openstack_blockstorage_version: "v1/v2/auto (default)"
  231. openstack_blockstorage_ignore_volume_az: "{{ volume_cross_zone_attachment | default('false') }}"
  232. ## When OpenStack is used, if LBaaSv2 is available you can enable it with the following 2 variables.
  233. openstack_lbaas_enabled: false
  234. # openstack_lbaas_subnet_id: "Neutron subnet ID (not network ID) to create LBaaS VIP"
  235. ## To enable automatic floating ip provisioning, specify a subnet.
  236. # openstack_lbaas_floating_network_id: "Neutron network ID (not subnet ID) to get floating IP from, disabled by default"
  237. ## Override default LBaaS behavior
  238. # openstack_lbaas_use_octavia: False
  239. # openstack_lbaas_method: "ROUND_ROBIN"
  240. # openstack_lbaas_provider: "haproxy"
  241. openstack_lbaas_create_monitor: "yes"
  242. openstack_lbaas_monitor_delay: "1m"
  243. openstack_lbaas_monitor_timeout: "30s"
  244. openstack_lbaas_monitor_max_retries: "3"
  245. openstack_cacert: "{{ lookup('env','OS_CACERT') }}"
  246. ## List of authorization modes that must be configured for
  247. ## the k8s cluster. Only 'AlwaysAllow', 'AlwaysDeny', 'Node' and
  248. ## 'RBAC' modes are tested. Order is important.
  249. authorization_modes: ['Node', 'RBAC']
  250. rbac_enabled: "{{ 'RBAC' in authorization_modes }}"
  251. # When enabled, API bearer tokens (including service account tokens) can be used to authenticate to the kubelet’s HTTPS endpoint
  252. kubelet_authentication_token_webhook: true
  253. # When enabled, access to the kubelet API requires authorization by delegation to the API server
  254. kubelet_authorization_mode_webhook: true
  255. # kubelet uses certificates for authenticating to the Kubernetes API
  256. # Automatically generate a new key and request a new certificate from the Kubernetes API as the current certificate approaches expiration
  257. kubelet_rotate_certificates: true
  258. ## v1.11 feature
  259. feature_gate_v1_11:
  260. - "PersistentLocalVolumes={{ local_volume_provisioner_enabled | string }}"
  261. - "VolumeScheduling={{ local_volume_provisioner_enabled | string }}"
  262. - "MountPropagation={{ local_volume_provisioner_enabled | string }}"
  263. ## v1.12 feature
  264. feature_gate_v1_12: []
  265. ## List of key=value pairs that describe feature gates for
  266. ## the k8s cluster.
  267. kube_feature_gates: |-
  268. {{ feature_gate_v1_12 }}
  269. # Enable kubeadm experimental control plane
  270. kubeadm_control_plane: false
  271. # Local volume provisioner storage classes
  272. # Levarages Ansibles string to Python datatype casting. Otherwise the dict_key isn't substituted
  273. # see https://github.com/ansible/ansible/issues/17324
  274. local_volume_provisioner_storage_classes: |
  275. {
  276. "{{ local_volume_provisioner_storage_class | default('local-storage') }}": {
  277. "host_dir": "{{ local_volume_provisioner_base_dir | default ('/mnt/disks') }}",
  278. "mount_dir": "{{ local_volume_provisioner_mount_dir | default('/mnt/disks') }}",
  279. "volume_mode": "Filesystem",
  280. "fs_type": "ext4"
  281. }
  282. }
  283. # weave's network password for encryption
  284. # if null then no network encryption
  285. # you can use --extra-vars to pass the password in command line
  286. weave_password: EnterPasswordHere
  287. # Weave uses consensus mode by default
  288. # Enabling seed mode allow to dynamically add or remove hosts
  289. # https://www.weave.works/docs/net/latest/ipam/
  290. weave_mode_seed: false
  291. # This two variable are automatically changed by the weave's role in group_vars/k8s-cluster.yml.
  292. # Do not manually change these values
  293. weave_seed: uninitialized
  294. weave_peers: uninitialized
  295. # Contiv L3 BGP Mode
  296. contiv_peer_with_uplink_leaf: false
  297. contiv_global_as: "65002"
  298. contiv_global_neighbor_as: "500"
  299. # Set 127.0.0.1 as fallback IP if we do not have host facts for host
  300. fallback_ips_base: |
  301. ---
  302. {% for item in groups['k8s-cluster'] + groups['etcd'] + groups['calico-rr']|default([])|unique %}
  303. {{ item }}: "{{ hostvars[item].get('ansible_default_ipv4', {'address': '127.0.0.1'})['address'] }}"
  304. {% endfor %}
  305. fallback_ips: "{{ fallback_ips_base | from_yaml }}"
  306. ## Set no_proxy to all assigned cluster IPs and hostnames
  307. no_proxy: >-
  308. {%- if http_proxy is defined or https_proxy is defined %}
  309. {%- if loadbalancer_apiserver is defined -%}
  310. {{ apiserver_loadbalancer_domain_name| default('') }},
  311. {{ loadbalancer_apiserver.address | default('') }},
  312. {%- endif -%}
  313. {%- for item in (groups['k8s-cluster'] + groups['etcd'] + groups['calico-rr']|default([]))|unique -%}
  314. {{ hostvars[item]['access_ip'] | default(hostvars[item]['ip'] | default(fallback_ips[item])) }},
  315. {%- if item != hostvars[item].get('ansible_hostname', '') -%}
  316. {{ hostvars[item]['ansible_hostname'] }},
  317. {{ hostvars[item]['ansible_hostname'] }}.{{ dns_domain }},
  318. {%- endif -%}
  319. {{ item }},{{ item }}.{{ dns_domain }},
  320. {%- endfor -%}
  321. {%- if additional_no_proxy is defined -%}
  322. {{ additional_no_proxy }},
  323. {%- endif -%}
  324. 127.0.0.1,localhost
  325. {%- endif %}
  326. proxy_env:
  327. http_proxy: "{{ http_proxy| default ('') }}"
  328. HTTP_PROXY: "{{ http_proxy| default ('') }}"
  329. https_proxy: "{{ https_proxy| default ('') }}"
  330. HTTPS_PROXY: "{{ https_proxy| default ('') }}"
  331. no_proxy: "{{ no_proxy| default ('') }}"
  332. NO_PROXY: "{{ no_proxy| default ('') }}"
  333. ssl_ca_dirs: >-
  334. [
  335. {% if ansible_os_family in ['CoreOS', 'Container Linux by CoreOS'] -%}
  336. '/usr/share/ca-certificates',
  337. {% elif ansible_os_family == 'RedHat' -%}
  338. '/etc/pki/tls',
  339. '/etc/pki/ca-trust',
  340. {% elif ansible_os_family == 'Debian' -%}
  341. '/usr/share/ca-certificates',
  342. {% endif -%}
  343. ]
  344. # Vars for pointing to kubernetes api endpoints
  345. is_kube_master: "{{ inventory_hostname in groups['kube-master'] }}"
  346. kube_apiserver_count: "{{ groups['kube-master'] | length }}"
  347. kube_apiserver_address: "{{ ip | default(fallback_ips[inventory_hostname]) }}"
  348. kube_apiserver_access_address: "{{ access_ip | default(kube_apiserver_address) }}"
  349. first_kube_master: "{{ hostvars[groups['kube-master'][0]]['access_ip'] | default(hostvars[groups['kube-master'][0]]['ip'] | default(fallback_ips[groups['kube-master'][0]])) }}"
  350. loadbalancer_apiserver_localhost: "{{ loadbalancer_apiserver is not defined }}"
  351. loadbalancer_apiserver_type: "nginx"
  352. # applied if only external loadbalancer_apiserver is defined, otherwise ignored
  353. apiserver_loadbalancer_domain_name: "lb-apiserver.kubernetes.local"
  354. kube_apiserver_endpoint: |-
  355. {% if loadbalancer_apiserver is defined and loadbalancer_apiserver.port is defined -%}
  356. https://{{ apiserver_loadbalancer_domain_name|default('lb-apiserver.kubernetes.local') }}:{{ loadbalancer_apiserver.port|default(kube_apiserver_port) }}
  357. {%- elif not is_kube_master and loadbalancer_apiserver_localhost -%}
  358. https://localhost:{{ loadbalancer_apiserver_port|default(kube_apiserver_port) }}
  359. {%- elif is_kube_master -%}
  360. https://{{ kube_apiserver_bind_address | regex_replace('0\.0\.0\.0','127.0.0.1') }}:{{ kube_apiserver_port }}
  361. {%- else -%}
  362. https://{{ first_kube_master }}:{{ kube_apiserver_port }}
  363. {%- endif %}
  364. kube_apiserver_insecure_endpoint: >-
  365. http://{{ kube_apiserver_insecure_bind_address | regex_replace('0\.0\.0\.0','127.0.0.1') }}:{{ kube_apiserver_insecure_port }}
  366. kube_apiserver_client_cert: "{{ kube_cert_dir }}/ca.crt"
  367. kube_apiserver_client_key: "{{ kube_cert_dir }}/ca.key"
  368. # Set to true to deploy etcd-events cluster
  369. etcd_events_cluster_enabled: false
  370. # Vars for pointing to etcd endpoints
  371. is_etcd_master: "{{ inventory_hostname in groups['etcd'] }}"
  372. etcd_address: "{{ ip | default(fallback_ips[inventory_hostname]) }}"
  373. etcd_access_address: "{{ access_ip | default(etcd_address) }}"
  374. etcd_events_access_address: "{{ access_ip | default(etcd_address) }}"
  375. etcd_peer_url: "https://{{ etcd_access_address }}:2380"
  376. etcd_client_url: "https://{{ etcd_access_address }}:2379"
  377. etcd_events_peer_url: "https://{{ etcd_events_access_address }}:2382"
  378. etcd_events_client_url: "https://{{ etcd_events_access_address }}:2381"
  379. etcd_access_addresses: |-
  380. {% for item in groups['etcd'] -%}
  381. https://{{ hostvars[item]['access_ip'] | default(hostvars[item]['ip'] | default(fallback_ips[item])) }}:2379{% if not loop.last %},{% endif %}
  382. {%- endfor %}
  383. etcd_events_access_addresses_list: |-
  384. [
  385. {% for item in groups['etcd'] -%}
  386. 'https://{{ hostvars[item]['access_ip'] | default(hostvars[item]['ip'] | default(fallback_ips[item])) }}:2381'{% if not loop.last %},{% endif %}
  387. {%- endfor %}
  388. ]
  389. etcd_events_access_addresses: "{{etcd_events_access_addresses_list | join(',')}}"
  390. etcd_events_access_addresses_semicolon: "{{etcd_events_access_addresses_list | join(';')}}"
  391. # user should set etcd_member_name in inventory/mycluster/hosts.ini
  392. etcd_member_name: |-
  393. {% for host in groups['etcd'] %}
  394. {% if inventory_hostname == host %}{{ hostvars[host].etcd_member_name | default("etcd" + loop.index|string) }}{% endif %}
  395. {% endfor %}
  396. etcd_peer_addresses: |-
  397. {% for item in groups['etcd'] -%}
  398. {{ hostvars[item].etcd_member_name | default("etcd" + loop.index|string) }}=https://{{ hostvars[item].access_ip | default(hostvars[item].ip | default(fallback_ips[item])) }}:2380{% if not loop.last %},{% endif %}
  399. {%- endfor %}
  400. etcd_events_peer_addresses: |-
  401. {% for item in groups['etcd'] -%}
  402. {{ hostvars[item].etcd_member_name | default("etcd" + loop.index|string) }}-events=https://{{ hostvars[item].access_ip | default(hostvars[item].ip | default(fallback_ips[item])) }}:2382{% if not loop.last %},{% endif %}
  403. {%- endfor %}
  404. podsecuritypolicy_enabled: false
  405. etcd_heartbeat_interval: "250"
  406. etcd_election_timeout: "5000"
  407. etcd_snapshot_count: "10000"
  408. certificates_key_size: 2048
  409. certificates_duration: 36500
  410. pip_extra_args: |-
  411. {%- set pip_extra_args_list = [] -%}
  412. {%- if pyrepo_index is defined -%}
  413. {%- set DO = pip_extra_args_list.append('--index-url %s' | format(pyrepo_index)) -%}
  414. {%- if pyrepo_cert is defined -%}
  415. {%- set DO = pip_extra_args_list.append('--cert %s' | format(pyrepo_cert)) -%}
  416. {%- endif -%}
  417. {%- endif -%}
  418. {{ pip_extra_args_list|join(' ') }}
  419. etcd_config_dir: /etc/ssl/etcd
  420. etcd_cert_dir: "{{ etcd_config_dir }}/ssl"
  421. typha_enabled: false