Skip to content

Playbook install fails with Ansible 2.9.6 Ubuntu 20.04 #198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fgjohnson opened this issue Aug 11, 2021 · 3 comments
Closed

Playbook install fails with Ansible 2.9.6 Ubuntu 20.04 #198

fgjohnson opened this issue Aug 11, 2021 · 3 comments

Comments

@fgjohnson
Copy link

Ansible 2.9.6 in the Ansible deployment fails in Ubuntu 20.04
Indication is it might self resolve with a newer version.

DataDog/ansible-datadog#274

$ ansible -m service_facts localhost

fatal: [activemq_1]: FAILED! => {"changed": false, "msg": "Malformed output discovered from systemd list-unit-files: accounts-daemon.service enabled enabled "}

$ ansible --version

ansible 2.9.6
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/fgjohnson/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0]

@alxgomz
Copy link
Contributor

alxgomz commented Aug 11, 2021

Sorry but I don't understand how this is related to this project as we are not asking for 2.9.6 specificly and the README page mentions al tests are done with 2.9.18+.
Is it a mistake or maybe can you clarify?

@fgjohnson
Copy link
Author

Thanks, and sorry...
Figuring out how everything fits together.

I installed/updated a brand new Ubuntu 20.04
Installed Ansible with "apt-get install ansible"... and the version I got was 2.9.6... typical newbie mistake!
Downloaded and extracted alfresco-ansible-deployment-master.zip
Ran the playbook for a local install.
This error was thrown and the install didn't complete.
fatal: [activemq_1]: FAILED! => {"changed": false, "msg": "Malformed output discovered from systemd list-unit-files: accounts-daemon.service enabled enabled "}

Is Ansible 2.9.18 the recommended version

Installed Ansible by pip3: 2.10.2 the playbook completed successfully.
Although there are some issues with the Community install that I am experiencing... will try and confirm they aren't already known or something that I can fix.

@fgjohnson fgjohnson changed the title Ansible 2.9.6 implementation fails in Ubuntu 20 Playbook install fails with Ansible 2.9.6 Ubuntu 20.04 Aug 12, 2021
@alxgomz
Copy link
Contributor

alxgomz commented Aug 12, 2021

thank you @fgjohnson. Yes as we ran tests using 2.9.18 we're sure it works so I would recommand it. Actually, latest tests now occurs with 2.9.21. I would say that's even better and will update doc accordingly.
Please let me close this issue. Feel free to open a new one in case you need help with your community deployment

@alxgomz alxgomz closed this as completed Aug 12, 2021
alxgomz added a commit that referenced this issue Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants