rundeck-plugins / ansible-plugin

Ansible Integration for Rundeck
MIT License
331 stars 100 forks source link

RUN-671: Code changes for transferred Ansible Repo #310

Closed qualman closed 2 years ago

qualman commented 2 years ago

To be released as 3.2.0

A release with the following PRs would adjust Rundeck/Rundeckpro to point at this new location and version

Testing:

To test, either build this as a Jar and put in libext for your local Rundeckpro, or move the whole folder into rundeckpro/plugins, and change build files to include it

ltamaster commented 2 years ago

now I am thinking that we shouldn't change the provider name because of this

Screen Shot 2022-03-30 at 13 39 48

it will break existing projects

ltamaster commented 2 years ago

well for resource-model, node-executor and file-copier it is easy to migrate (just replace project.properties with the new name)

resources.source.2.type=com.rundeck.plugins.ansible.plugin.AnsibleResourceModelSourceFactory
service.FileCopier.default.provider=com.rundeck.plugins.ansible.plugin.AnsibleFileCopier
service.NodeExecutor.default.provider=com.rundeck.plugins.ansible.plugin.AnsibleNodeExecutor

but for jobs, that will be harder because you will need to export them, change the provider names and import them:

Screen Shot 2022-03-30 at 14 52 09 Screen Shot 2022-03-30 at 14 52 16
qualman commented 2 years ago

Ok @ltamaster , see if this latest change makes those jobs work for you?