ktdreyer / koji-ansible

Ansible modules to manage Koji resources
GNU General Public License v3.0
24 stars 22 forks source link

KOJI_PROFILE= environment variable only works for localhost #20

Open ktdreyer opened 5 years ago

ktdreyer commented 5 years ago

We can set a default profile with the KOJI_PROFILE environment variable, but this only works if we're executing tasks on localhost, not on remote hosts.

ktdreyer commented 5 years ago

https://docs.ansible.com/ansible/latest/user_guide/playbooks_environment.html makes me think we can resolve this with documentation. I need to test that using environment: works on remote nodes, then update the KOJI_PROFILE documentation section in the README to describe how to set KOJI_PROFILE using that method.

ktdreyer commented 4 years ago

Yeah, environment: works fine, so we need to document this.