Smart-Proxy - Ansible

Hi,

I have a CentOS server (A) where I installed Foreman/Katello, enabled ansible plugin.
I have another CentOS server (B) where I have all my ansible roles.

What’s the best way to import the ansible roles from server B to A ?

  • Is it to install a smart proxy on server B

  • or rsync (via cron) B:/etc/ansible/role to A:/etc/ansible/roles ?

Thanks

The smart proxy has no capabilities to manage roles on the filesystem. You could write an ansible role to do, but there’s nothing built in. That means rsync is probably the way to go.