Hi Rene,

Thanks!

I've made the changes you suggested, along with a few minor adjustments.
Everything is working well now.

The additional changes I made are:

   - cs_sshkeypair → ngine_io.cloudstack.ssh_key
   - cs_affinitygroup → ngine_io.cloudstack.affinity_group

There may be similar updates needed elsewhere as well. It would probably be
worth checking the collection documentation for any remaining module name
changes:
https://galaxy.ansible.com/ui/repo/published/ngine_io/cloudstack/docs/


Kind regards,
Wei


On Sun, Aug 2, 2026 at 5:18 PM Rene Moser <[email protected]> wrote:

> Hi Wei
>
> On Sun, 2026-08-02 at 16:24 +0200, Wei ZHOU wrote:
> > Thanks Rene !
> >
> > Quick question, we have some codes which works with old ansible
> > version,
> > like
> >
> > - name: Build management server
> >   local_action:
> >     module: cs_instance
> >     name: "{{ item }}"
> >
> >
> > must we change to the following ?
> >
> > ngine_io.cloudstack.instance:
>
> Short Anwser:
>
> For 3.1.0, yes. the cs_ prefix has been dropped.
>
> Long answer:
>
> It's recommended to use fully qualified collection names (fqcn) for
> each module.
>
> - name: Build management server
>   local_action:
>     module: ngine_io.cloudstack.instance
>     name: "{{ item }}"
>
> or as sed command:
>
> sed -i 's/module: cs_/module: ngine_io.cloudstack./g' ./playbooks/*.yml
>
> should to the trick.
>
> René
>

Reply via email to