On Wed, 5 Feb 2020 at 09:06, Stefan Hornburg (Racke) <[email protected]> wrote: > > On 2/5/20 2:08 AM, Work-Hard wrote: > > Hello, > > Do you recommend Migrating playbook from ubuntu to amazon Linux 2 (as it > > uses *yum instead of apt*). If so, how can I > > check if missing add a package to a new instance to make sure it installs > > python-apt*?* > > *Ansible-Playbook* > > If Amazon Linux2 is a RedHat based distribution (as the usage of yum > suggests) it makes no sense to > use python-apt as it caters to Debian based distributions.
Also, the package management isn't the only difference between Debian and Redhat based distros. So if you have any other playbooks that have implicitly Debianisms you will need to rewrite those as well. Things that come to mind are the ways packages themselves are configured - config file location and inclusion structure, the init system etc. -- Dick Visser Trust & Identity Service Operations Manager GÉANT -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwO0wjunV-Somg5CuvryQarauN%3DRqG2Hv-PxFqBWO2W9pw%40mail.gmail.com.
