On Thu, Jun 4, 2020, at 8:37 PM, Sydo Luciani wrote: > The only option that I can think of: > pip install https://github.com/ansible/ansible/archive/devel.tar.gz > git clone https://github.com/ansible-collections/community.aws.git > cp community.aws/plugins/modules/my_module.py ~/.ansible/plugins/modules/ > > edit ~/.ansible/plugins/modules/my_module.py and then copy it back to > git repository to commit and push. > > Any elegant solution ? > How you guys at ansible have setup the development environment to > develop amazon.aws ? >
You've identified one of the many annoying parts of collections. You need a special directory structure and you can't install from git in an editable manner. There's no equivalent to `ansible-galaxy install -gr requirements.yml` that gives you a git repo you can edit and push and pull. You'll further find it difficult to type `ansible -m community.general.my_module ...` using the very long name versus the short name you've always used before. V/r, James Cassell -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b7a7db11-1c36-475d-a834-ac12a58a5bf1%40www.fastmail.com.
