Samuli Silvius | c580efe | 2019-03-17 18:06:33 +0200 | [diff] [blame] | 1 | --- |
| 2 | rancher_server_url: "http://{{ hostvars[groups.infrastructure.0].ansible_host }}:8080" |
| 3 | rancher_remove_other_env: true |
| 4 | rancher_redeploy_k8s_env: true |
Samuli Silvius | bb3bef8 | 2019-04-04 08:22:08 +0300 | [diff] [blame] | 5 | rancher_cluster_health_state: healthy |
| 6 | rancher_cluster_health_check_retries: 30 |
Michal Zegan | 119f760 | 2019-04-23 16:34:58 +0200 | [diff] [blame^] | 7 | kube_directory: ~/.kube |
| 8 | kube_server: "https://{{ ansible_host }}:8080/r/projects/{{ k8s_env_id | mandatory }}/kubernetes:6443" |
Petr Ospalý | 2bfe0f9 | 2019-03-26 22:13:00 +0100 | [diff] [blame] | 9 | rancher: |
| 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ý | 72b09b1 | 2019-04-08 04:55:47 +0200 | [diff] [blame] | 26 | |
Petr Ospalý | 3a6558a | 2019-04-08 08:39:41 +0200 | [diff] [blame] | 27 | # 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ý | 72b09b1 | 2019-04-08 04:55:47 +0200 | [diff] [blame] | 34 | # Set this password for the rancher admin account: |
| 35 | admin_password: "admin" |