I am building a clean setup and running prepare.sh fails with an error.
./prepare.sh root
Warning: aci.yml was ignored
SSH password:
SUDO password[defaults to SSH password]:
ERROR! Syntax Error while loading YAML.
The error appears to have been in '/root/demo/k8s/prepare.yml': line 56, column 33, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
shell: ifconfig "{{ contiv_control_if }}" "{{ contiv_control_ip }}"/24
when: "{{ management_ip }}" != "{{ contiv_control_ip }}"
^ here
We could be wrong, but this one looks like it might be an issue with
missing quotes. Always quote template expression brackets when they
start a value. For instance:
Should be written as:
with_items:
- "{{ foo }}"
I am building a clean setup and running prepare.sh fails with an error.
./prepare.sh root
Warning: aci.yml was ignored
SSH password:
SUDO password[defaults to SSH password]:
ERROR! Syntax Error while loading YAML.
The error appears to have been in '/root/demo/k8s/prepare.yml': line 56, column 33, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
We could be wrong, but this one looks like it might be an issue with
missing quotes. Always quote template expression brackets when they
start a value. For instance:
Should be written as: