convert ansible-oracle into a collection
Hi Mikael, we plan to convert ansible-oracle into a collection for final upload to https://galaxy.ansible.com.
-
role-names with '-' I figured out that the role names are not compatible for using inside a collection on galaxy. I know this point from ansible-lint, because 'role-names' is on the skip-list in the linter and I hoped that this won't hit us in the future... The '-' is not allowed inside role names and we need to replace them with '_'. This will break a lot playbooks but brings ansible-oracle in a complete new way of using it in projects.
-
move library to plugins/modules This need changes in ansible.cfg in used projects and is not such a big change. Working with symbolic links from library to plugins/modules is not working on https://galaxy.ansible.com
We tried to move to ansible collections (https://github.com/opitzconsulting/ansible-oracle/pull/67) but failed due to the 2 points.
Could we do theses incompatible changes in ansible-oracle?
Hi Mikael, could you give us some feedback on this issue?
Hi, Sorry. Yes absolutely. Go ahead
I am working on the new collection: https://github.com/opitzconsulting/ansible-oracle/pull/99 There are a lot of breaking changes, due to rename of all roles with '-' in name.
I removed the deprecated roles from ansible-oracle. This was needed, because the work to move to the collection is a lot of time - everything that is not needed will speed up this process.
The tests are on a good way.
Important: The whole inventory and all Playbooks needs more time, because they won't work at the moment. You should not use ansible-oracle itself as inventory for a production environment. Use the ansible-oracle-inventory (https://github.com/opitzconsulting/ansible-oracle-inventory) project instead, because that will include a working inventory+playbooks for ansible-oracle.
Work is done in https://github.com/opitzconsulting/ansible-oracle/pull/99 and merged into branch collection. We will do more tests and merge collection into oc at a later time.
Planned for version 3.0.0
#261
#261 has been merged