-
Notifications
You must be signed in to change notification settings - Fork 671
[bug] running deploy_platform.sh in rover fails after following steps from tutorial #495
Description
Describe the bug
Trying to follow the steps for building landing zone.
NOTE: Did some experimentation to see which images are working ok and which have errors
aztfmod/rover:1.5.4-2307.2804 has the error. (latest)
aztfmod/rover:1.3.9-2307.0308 has the error (2 months old)
aztfmod/rover:1.2.9-2306.1503] has the error (2 months old)
aztfmod/rover:1.2.9-2306.1405 has the error (3 months old)
aztfmod/rover:1.2.9-2305.0405 that is 4 months old is ok
aztfmod/rover:1.2.9-2303.2414 that is 5 months old is ok
aztfmod/rover:1.2.9-2210.0303 that is one year old is ok.
I see versionAnsible=2.14.4 in the working version and 2.15 in the broken one from the Dockerfile
To Reproduce
Steps to reproduce the behavior:
- open dev container in visual studio code
- git clone https://github.com/Azure/caf-terraform-landingzones.git landingzones
- cd landingzones
- git checkout 2203.1
- rover login
- '/tf/caf/landingzones/templates/platform/deploy_platform.sh'
- (accept all defaults for questions)
TASK [include_tasks] ******************************************************************************************************************************
included: /tf/caf/landingzones/templates/ansible/load_alz.yaml for localhost => (item=region1)
TASK [include_tasks] ******************************************************************************************************************************
ERROR! 'with_filetree' is not a valid attribute for a Task
The error appears to be in '/tf/caf/landingzones/templates/ansible/load_deployments_alz.yaml': line 35, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
-
name: "Creates directory structure - {{template_lib_folder}}"
^ 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:with_items:
- {{ foo }}
Should be written as:
with_items:
- "{{ foo }}"
Expected behavior
script completes without errros
Configuration (please complete the following information):
- OS and version: [e.g. Windows 10 1909]
- Version of the rover[e.g. 22] aztfmod/rover:1.5.4-2307.2804
- Version of the landing zone[e.g. 11] 2203.1