I am trying to setup a new common role to run on all my servers. This role could be run from AWX/AAP or Ad-hoc from a jump server. I want to import other roles from my git repo. It could be bitbucket or github, etc. In previous versions of ansible there were examples to use import_roles with a remote source. Is there a module that I need to use?
I am using the latest version of Ansible on RHEL 8/9.
An example would be something like this.
Hi, circling back to this, if I use the ansible galaxy module to install the roles but don’t specify the destination will they be cleaned up when the job is done?
name: Install role at specific path
community.general.ansible_galaxy_install:
type: role
name: ansistrano.deploy