You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to create an example project with a simple Dockerfile and Makefile to make it easy to see ansible.content_builder in action against a given API spec.
A clean build with a generated collection in example/, or a clear error message about what was wrong.
ACTUAL RESULTS
The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'resource'. 'dict object' has no attribute 'resource'
The error appears to be in '/root/.ansible/collections/ansible_collections/ansible/content_builder/roles/module_openapi_cloud/tasks/main.yaml': line 10, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Generate modules for "{{ collection['name'] }}"
^ 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 }}"
The text was updated successfully, but these errors were encountered:
SUMMARY
I'm attempting to create an example project with a simple Dockerfile and Makefile to make it easy to see
ansible.content_builder
in action against a given API spec.ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
displague/content-builder-example#1
EXPECTED RESULTS
A clean build with a generated collection in
example/
, or a clear error message about what was wrong.ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: