Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert ansible-oracle into a collection #256

Closed
Rendanic opened this issue Sep 24, 2021 · 7 comments
Closed

convert ansible-oracle into a collection #256

Rendanic opened this issue Sep 24, 2021 · 7 comments
Assignees
Milestone

Comments

@Rendanic
Copy link
Collaborator

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 (opitzconsulting#67) but failed due to the 2 points.

Could we do theses incompatible changes in ansible-oracle?

@Rendanic
Copy link
Collaborator Author

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

@oravirt
Copy link
Owner

oravirt commented Oct 18, 2021

Hi,
Sorry.
Yes absolutely. Go ahead

@Rendanic
Copy link
Collaborator Author

Rendanic commented Jul 6, 2022

I am working on the new collection:
opitzconsulting#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
Copy link
Collaborator Author

Rendanic commented Jul 7, 2022

Work is done in opitzconsulting#99 and merged into branch collection. We will do more tests and merge collection into oc at a later time.

@Rendanic Rendanic self-assigned this Aug 31, 2022
@Rendanic
Copy link
Collaborator Author

Planned for version 3.0.0

@Rendanic Rendanic added this to the 3.0.0 milestone Aug 31, 2022
@Rendanic
Copy link
Collaborator Author

Rendanic commented Sep 4, 2022

#261

@Rendanic
Copy link
Collaborator Author

#261 has been merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants