]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ansible.cfg: do not enforce PreferredAuthentications
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 9 Dec 2019 16:10:11 +0000 (17:10 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 11 Dec 2019 13:56:44 +0000 (08:56 -0500)
There's no need to enforce PreferredAuthentications by default.
Users can still choose to override the ansible.cfg with any additional
parameter like this one to fit their infrastructure.

Fixes: #4826
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit d682412e2aa5eeb411cc0dff9a3ffef4b4aa8683)

ansible.cfg

index 356b0b5776169713c59e682a2b8c5e4809485a00..b135b48fb980d2c34cf1f68f87ed5caf0f089d36 100644 (file)
@@ -32,7 +32,7 @@ timeout = 60
 [ssh_connection]
 # see: https://github.com/ansible/ansible/issues/11536
 control_path = %(directory)s/%%h-%%r-%%p
-ssh_args = -o ControlMaster=auto -o ControlPersist=600s -o PreferredAuthentications=publickey
+ssh_args = -o ControlMaster=auto -o ControlPersist=600s
 pipelining = True
 
 # Option to retry failed ssh executions if the failure is encountered in ssh itself