blob: 8a37574aec42352369e63e4aa978408fc2eb371b [file] [log] [blame]
Samuli Silviusc580efe2019-03-17 18:06:33 +02001---
Michal Zegan88935ca2019-06-05 17:23:03 +02002rancher_server_url: "http://{{ hostvars[groups.infrastructure.0].cluster_ip }}:8080"
Samuli Silviusc580efe2019-03-17 18:06:33 +02003rancher_remove_other_env: true
4rancher_redeploy_k8s_env: true
Samuli Silviusbb3bef82019-04-04 08:22:08 +03005rancher_cluster_health_state: healthy
6rancher_cluster_health_check_retries: 30
Michal Zegan119f7602019-04-23 16:34:58 +02007kube_directory: ~/.kube
8kube_server: "https://{{ ansible_host }}:8080/r/projects/{{ k8s_env_id | mandatory }}/kubernetes:6443"
Petr Ospalý2bfe0f92019-03-26 22:13:00 +01009rancher:
10 # The following variables can be set via the UI under advanced/settings.
11 # All of these affect tables in the cattle db and are uninteresting
12 # to the user (they serve the internal logic of the cattle), but
13 # they can eat a lot of space when a deployment is busy or faulty.
14 #
15 # Audit-Log is the only user-facing option here and it is represented
16 # in the UI.
17 #
18 # Auto-purge deleted entries from most tables after this long (seconds)
19 main_tables_purge_after_seconds: 28800 # 8 hours
20 # Auto-purge Event entries after this long (seconds)
21 events_purge_after_seconds: 28800 # 8 hours
22 # Auto-purge Service Log entries after this long (seconds)
23 service_log_purge_after_seconds: 86400 # 1 day
24 # Auto-purge Audit Log entries after this long (seconds)
25 audit_log_purge_after_seconds: 2592000 # 30 days
Petr Ospalý72b09b12019-04-08 04:55:47 +020026
Petr Ospalý3a6558a2019-04-08 08:39:41 +020027 # By default we don't enable local authentication (mainly due to
28 # to the fact that rancher_k8s_environment.py would have to be
29 # rewritten completely)
30 # But if you don't need to run rancher_kubernetes playbook more
31 # than once (you should not have to under the terms of a regular
32 # installation), then you can safely enable it.
33 auth_enabled: false
Petr Ospalý72b09b12019-04-08 04:55:47 +020034 # Set this password for the rancher admin account:
35 admin_password: "admin"