Hi, > I'm running Ansible --version > > > ansible 2.10.8
please note that ansible-base 2.10 is End of Life since May 2022. We suggest to upgrade to ansible-core (2.11 or later). > I installed the community.general collection using : > ansible-galaxy collection install community.general > > and I'm getting the following: > [WARNING]: Collection community.general does not support Ansible > version 2.10.8 > > which doesn't makes sense because the install page says "Installing > collections with ansible-galaxy is only supported in ansible 2.9+" > but my ansible version is 2.10.8 so why the warning ? The README of community.general clearly states that ansible-base 2.10 is no longer supported with community.general 5.0.0+: https://galaxy.ansible.com/community/general "Tested with the current ansible-core 2.11, ansible-core 2.12, ansible-core 2.13 releases and the current development version of ansible-core. Ansible-core versions before 2.11.0 are not supported. This includes all ansible-base 2.10 and Ansible 2.9 releases." So you should install community.general < 5.0.0 if you insist working with ansible-base 2.10. ------- Some modules of the collection might still work with ansible-base 2.10 though, and in any case, you should get a different error message in case community.general.mail doesn't work with ansible-base 2.10 (I think it still works with it). > when it mail module is called in the play book I get : > fatal: [server1]: FAILED! => {"msg": "The module mail was redirected > to community.general.notification.mail, which could not be loaded."} A similar error has been reported here: https://github.com/ansible-collections/community.general/issues/4943 in conjunction with Execution Environments. I was not able to reproduce it so far, but you seem to be hitting a similar instance of that error. If you can manage to provide a reproducer. I did try: docker run --rm -it python:3.10 /bin/bash and in there pip install ansible-base==2.10.8 ansible-galaxy collection install community.general ansible localhost -m mail and got the error 'missing required arguments: subject' instead. I also did try running a small playbook, and it resulted in the same error. Cheers, Felix -- 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/20220714062346.315cbaa7%40rovaniemi.
