Chapter 3. Ansible content migration
If you are migrating from an ansible-core
version to ansible-core
2.12+, consider reviewing Ansible Core Porting Guides to familiarize yourself with changes and updates between each version. When reviewing the Ansible Core porting guides, ensure that you select the latest version of ansible-core
or devel
, which is located at the top left column of the guide.
For a list of fully supported and certified Ansible Content Collections, see Ansible Automation hub on console.redhat.com.
3.1. Migrating your Ansible playbooks and roles to Core 2.12 Copy linkLink copied to clipboard!
When you are migrating from non collection-based content to collection-based content, you should use the Fully Qualified Collection Names (FQCN) in playbooks and roles to avoid unexpected behavior.
Example playbook with FQCN:
If you are using ansible-core modules and are not calling a module from a different Collection, you should use the FQCN ansible.builtin.copy
.
Example module with FQCN: