-
Notifications
You must be signed in to change notification settings - Fork 668
[bug] running deploy_platform.sh in rover fails after following steps from tutorial #495
Comments
Any workaround here? |
@zemosoramesh ive used this code to replace with_filetree. Could you try and reply if it works for you? `- debug:
|
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:
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:
Expected behavior
script completes without errros
Configuration (please complete the following information):
The text was updated successfully, but these errors were encountered: