-
Notifications
You must be signed in to change notification settings - Fork 192
Description
in master branch
my inventory/group_vars/all.yml
---
kube_version: 1.13.4
# Container runtime,
# Supported: docker, nvidia-docker, containerd.
container_runtime: docker
# Container network,
# Supported: calico, flannel.
cni_enable: true
container_network: calico
# Kubernetes HA extra variables.
vip_interface: ""
vip_address: 192.168.3.100
# Kubernetes extra addons
enable_ingress: true
enable_dashboard: false
enable_logging: true
enable_monitoring: false
enable_metric_server: true
grafana_user: "admin"
grafana_password: "admin"
error message:
fatal: [k8s-m1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'namespace'\n\nThe error appears to have been in '/root/kube-ansible/roles/k8s-addon/tasks/main.yml': line 35, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Check {{ addon.name }} addon dependencies status\n ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n with_items:\n - {{ foo }}\n\nShould be written as:\n\n with_items:\n - \"{{ foo }}\"\n"}