Package Details: ansible-completion-git r67.40053ed-1

Git Clone URL: https://aur.archlinux.org/ansible-completion-git.git (read-only, click to copy)
Package Base: ansible-completion-git
Description: Basic bash completion for Ansible
Upstream URL: https://github.com/dysosmus/ansible-completion
Licenses: GPL3
Conflicts: ansible-completion
Provides: ansible-completion
Submitter: cameel
Maintainer: cameel
Last Packager: cameel
Votes: 4
Popularity: 0.000000
First Submitted: 2018-08-04 15:25 (UTC)
Last Updated: 2018-08-04 15:25 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

cameel commented on 2021-05-21 11:19 (UTC)

@Ashark Yeah, looks like /usr/share/bash-completion/completions/ansible-playbook expects /usr/share/bash-completion/completions/ansible to be sourced before it runs. Otherwise it won't be able to access that function.

This is an issue in the upstream package so it should be fixed there. I see that you actually mentioned that in https://github.com/dysosmus/ansible-completion/issues/32. I think a separate issue would be better to bring attention to it because this is not just a cosmetic documentation problem.

It would be easy to work around by adding the source line in the PKGBUILD so let me know if you get no response upstream.

Ashark commented on 2021-05-21 08:53 (UTC)

I get a problem when completing hostnames. When typyng

ansible-playbook ... -l <tab>

I get bash: _ansible_complete_host: command not found.

That function is inside a file "/ust/share/bash-completion/completions/ansible" of this package. But it probably need to be sourced from somewhere by the package?

In the readme of the project https://github.com/dysosmus/ansible-completion it is mentioned, but not mentioned a specific path for Arch linux.