]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Use python instead of python2
authorHa Phan <thanhha.work@gmail.com>
Mon, 4 Jun 2018 09:36:48 +0000 (17:36 +0800)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 4 Jun 2018 12:24:10 +0000 (14:24 +0200)
commit1f3c9ce4f38070d5538b269f524666d9a780fc13
tree5a7b3f958c693d8f9c28a8a9ea40c0a8d2b9a75f
parentdb50aec13d1575db0ab7df3a802353a508c55f3f
Use python instead of python2

The initial keyring is generated from ansible server locally and the snippet works well for both v2 and v3 of python.

I don't see any reason why we should explicitly invoke`python2` instead of just `python`.

In some setups, `python2` is not symlinked to `python`; while `python` and `python3` refer to v2 and v3 respectively.

Signed-off-by: Ha Phan <thanhha.work@gmail.com>
roles/ceph-mon/tasks/deploy_monitors.yml