The top-level README of both AWS collection repos points to how to use collections, but that doesn't tell me how to develop collections.
. hacking/env-setup`? Do I still need that?
If I want to run my code locally what do I pass as the -m argument? What folder do I need to be in?
What about unit tests. Is the command the same? What folder do I need to be in?
How do I run integration tests? The new AWS collection repo does not have the policy file listed in the docs.
Is the development process documented anywhere? I can't find it in the FAQ. Please point me in the right direction.
Do I need to clone both the collection repo, and the main ansible/ansible repo?
What is the new process for testing changes to the modules that have moved to a collection?
If I want to run my code locally what do I pass as the -m argument? What folder do I need to be in?
What about unit tests. Is the command the same? What folder do I need to be in?
How do I run integration tests? The new AWS collection repo does not have the policy file listed in the docs.
ERROR! this task 'community.aws/iam_role.py' has extra params, which is only allowed in the following modules: import_tasks, raw, ansible.windows.win_command, win_command, add_host, meta, include_role, command, include_vars, include, win_shell, import_role, ansible.windows.win_shell, shell, include_tasks, group_by, set_fact, script
cd ~/Documents/test
git clone https://github.com/ansible-collections/community.aws.git
ansible-galaxy collection build
rm -rf ~/.ansible/collections/ansible_collections/community/aws/
ansible-galaxy collection install community-aws-1.0.0.tar.gz
cd ~/.ansible/collections/ansible_collections/community/aws/
ansible-test sanity
--
You received this message because you are subscribed to the Google Groups "Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/f76216ce-95df-46ff-9693-5c57af0c96a5o%40googlegroups.com.
cd ~/.ansible/collections/ansible_collections/community/aws/
ansible-test sanity
However, that still winds me up with> AttributeError: 'TypeError' object has no attribute 'errors'Maybe I still need to upgrade something. This does work for other collections, so it might be something specific to this content.
--
You received this message because you are subscribed to the Google Groups "Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/d7b421a8-8c62-4098-8095-5e4774beddecn%40googlegroups.com.