]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ansible: replace sudo by become 1578/head
authorKefu Chai <kchai@redhat.com>
Tue, 2 Jun 2020 06:35:00 +0000 (14:35 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 2 Jun 2020 06:40:00 +0000 (14:40 +0800)
commit2cd330aac26d4e8223dc49c7b3a42f7eea8db685
tree495a119c8a567c7b5139414f57b6b1252a742968
parent44b67337dfcf97b7a7191fcf64a612ca89c401fe
ansible: replace sudo by become

sudo has be deprecated since Ansible 1.9 [0] and was removed in 2.9 [1], let's
use "become" instead.

---
[0]
https://github.com/ansible/ansible/blob/stable-2.0/CHANGELOG.md#19-dancing-in-the-street---mar-25-2015
[1] https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-deploy-pull-requests/setup/playbooks/setup.yml