ansible-oracle icon indicating copy to clipboard operation
ansible-oracle copied to clipboard

convert ansible-oracle into a collection

Open Rendanic opened this issue 4 years ago • 4 comments

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?

Rendanic avatar Sep 24 '21 06:09 Rendanic

Hi Mikael, could you give us some feedback on this issue?

Rendanic avatar Oct 18 '21 04:10 Rendanic

Hi, Sorry. Yes absolutely. Go ahead

oravirt avatar Oct 18 '21 06:10 oravirt

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.

Rendanic avatar Jul 06 '22 16:07 Rendanic

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.

Rendanic avatar Jul 07 '22 20:07 Rendanic

Planned for version 3.0.0

Rendanic avatar Aug 31 '22 20:08 Rendanic

#261

Rendanic avatar Sep 04 '22 20:09 Rendanic

#261 has been merged

Rendanic avatar Sep 13 '22 07:09 Rendanic