redhat-cop / aap_utilities

Ansible Collection for automated deployment of AAP and other objects for general use
https://galaxy.ansible.com/infra/aap_utilities
GNU General Public License v3.0
81 stars 50 forks source link

Not launch the setup.sh backup task as root #253

Open jeanphilippelevy opened 2 months ago

jeanphilippelevy commented 2 months ago

The become: true in the backup task is not a good idea because the ssh connexion is launch by root user. It is not always allowed in all organisations ...

A best way is to set the ansible_become & ansible_user variables.