Skip to content
This repository has been archived by the owner on Nov 23, 2019. It is now read-only.

Issue #37

Open
ShadySQL opened this issue Mar 17, 2017 · 1 comment
Open

Issue #37

ShadySQL opened this issue Mar 17, 2017 · 1 comment

Comments

@ShadySQL
Copy link

PLAY [all] *********************************************************************

TASK [setup] *******************************************************************
[DEPRECATION WARNING]: Accelerated mode is deprecated. Consider using SSH with ControlPersist and pipelining enabled instead.
This feature will be removed in a future release.
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: accelerate is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale..
This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
fatal: [localhost]: FAILED! => {"failed": true, "msg": "Failed to connect to localhost on the accelerated port 5099"}
to retry, use: --limit @/home/ec2-user/cis-rhel-ansible/playbook.retry

PLAY RECAP *********************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1

So I added that line to the ansible.cfg file and ran it again but now I get:

ansible-playbook -i hosts -C playbook.yml

PLAY [all] *********************************************************************

TASK [setup] *******************************************************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "Failed to connect to localhost on the accelerated port 5099"}
to retry, use: --limit @/home/ec2-user/cis-rhel-ansible/playbook.retry

PLAY RECAP *********************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1


I'am running:

ansible --version
ansible 2.2.1.0
config file = /home/ec2-user/cis-rhel-ansible/ansible.cfg
configured module search path = Default w/o overrides

@EzLucky
Copy link

EzLucky commented Aug 22, 2017

In playbook.yml, change line 19
from accelerate: true
to accelerate: false

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants