]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
cobbler: Don't set ansible_python_interpreter manually anymore 520/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 7 Jan 2020 18:40:48 +0000 (13:40 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 7 Jan 2020 18:40:48 +0000 (13:40 -0500)
commit51a52a70abe60a5effb4ec649ce7cbd5614f1faf
treed80728653a214e070d26ffa7af5133b89fe4144b
parent3c061b335e702233161a44fbd19d3f1dad49f0ab
cobbler: Don't set ansible_python_interpreter manually anymore

Both cobbler hosts (cobbler.front.sepia.ceph.com and magna001.ceph.redhat.com) are now running versions of ansible that handle python interpreter discovery automatically.

Setting this manually was actually causing issues because some ceph-cm-ansible tasks get delegated to localhost (Like 'Clone the keys repo' in the Users role).  So when setting -e ansible_python_interpreter=/usr/bin/python3, ansible looks for that binary on the localhost.  magna001 doesn't have python3 so the playbook run would fail.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh