All Projects → dysosmus → Ansible Completion

dysosmus / Ansible Completion

Licence: gpl-3.0
Basic bash completion for Ansible

Programming Languages

shell
77523 projects
bash
514 projects

Projects that are alternatives of or similar to Ansible Completion

Rocannon
Vim for Ansible playbooks: omni-completion, abbreviations, syntax, folding, K-docs, and colorscheme
Stars: ✭ 80 (-37.5%)
Mutual labels:  ansible, completion
Hybrid multicloud overlay
MutiCloud_Overlay demonstrates a use case of overlay over one or more clouds such as AWS, Azure, GCP, OCI, Alibaba and a vSphere private infrastructure in Hub and spoke topology, point to point topology and in a Single cloud. Overlay protocols IPv6 and IPv4 are independent of underlying infrastructure. This solution can be integrated with encryption and additional security features.
Stars: ✭ 127 (-0.78%)
Mutual labels:  ansible
Ansible Roles
Manala ansible roles
Stars: ✭ 122 (-4.69%)
Mutual labels:  ansible
K8s
Deploying Kubernetes High Availability Cluster with Ansible Playbook
Stars: ✭ 125 (-2.34%)
Mutual labels:  ansible
Serverfarmer
Manage multiple servers with different operating systems, configurations, requirements etc. for many separate customers in an outsourcing model.
Stars: ✭ 122 (-4.69%)
Mutual labels:  ansible
Kubespray
Deploy a Production Ready Kubernetes Cluster
Stars: ✭ 11,588 (+8953.13%)
Mutual labels:  ansible
Vim Gdscript3
Syntax highlighting and completion for GDScript 3
Stars: ✭ 121 (-5.47%)
Mutual labels:  completion
Pimp My Box
🌱 Automated seedbox install of rTorrent-PS and PyroScope CLI etc. via Ansible.
Stars: ✭ 127 (-0.78%)
Mutual labels:  ansible
Django Init
Project template used at Fueled for scaffolding new Django based projects. 💫
Stars: ✭ 126 (-1.56%)
Mutual labels:  ansible
Wireguard Private Networking
Build your own multi server private network using wireguard and ansible
Stars: ✭ 124 (-3.12%)
Mutual labels:  ansible
Ansible Lint Action
GitHub Action for running ansible-lint as part of your workflows! [ https://github.com/marketplace/actions/ansible-lint ]
Stars: ✭ 124 (-3.12%)
Mutual labels:  ansible
Mqperf
Stars: ✭ 122 (-4.69%)
Mutual labels:  ansible
Mattermost Ansible
Ansible playbook to provide a turnkey solution for the Team Edition of Mattermost
Stars: ✭ 126 (-1.56%)
Mutual labels:  ansible
Ansible Openwisp2 Imagegenerator
Automatically build several openwisp2 firmware images for different organizations while keeping track of their differences
Stars: ✭ 122 (-4.69%)
Mutual labels:  ansible
Fzf Tab Completion
Tab completion using fzf
Stars: ✭ 127 (-0.78%)
Mutual labels:  completion
Ara Archive
This repository is an historical archive of https://github.com/dmsimard/ara, please use https://github.com/openstack/ara instead.
Stars: ✭ 121 (-5.47%)
Mutual labels:  ansible
Casl Ansible
Ansible automation for Managing OpenShift Container Platform clusters
Stars: ✭ 123 (-3.91%)
Mutual labels:  ansible
Litmus
Litmus helps SREs and developers practice chaos engineering in a Cloud-native way. Chaos experiments are published at the ChaosHub (https://hub.litmuschaos.io). Community notes is at https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q
Stars: ✭ 2,377 (+1757.03%)
Mutual labels:  ansible
Bash Argsparse
An high level argument parsing library for bash
Stars: ✭ 128 (+0%)
Mutual labels:  completion
Auto Complete
Emacs auto-complete package
Stars: ✭ 1,622 (+1167.19%)
Mutual labels:  completion

ansible-completion

Provide a bash completion on host name, module name and options for ansible.

Installation

  1. Get the ansible-completion.bash file.

  2. Copy/move the ansible-completion.bash in your bash_completion.d folder (/etc/bash_completion.d, /usr/local/etc/bash_completion.dor ~/bash_completion.d).

  3. Or copy/move it where you want and then load the ansible-completion.bash file in your ~/.bashrc or ~/.profile like that: source ~/ansible-completion.bash

  4. Reload your shell with something like source ~/.bashrc or source ~/.profile

Note for OSX

  1. Clone the repo, install bash an auto-completion2 with homebew: brew install bash bash-completion2

  2. Change your terminal bash to a homebrew one by setting the command option to /usr/local/bin/bash

  3. Add the following code to your ~/.profile:

    if [ -f $(brew --prefix)/share/bash-completion/bash_completion ]; then
      . $(brew --prefix)/share/bash-completion/bash_completion
    fi
    
  4. Create a symbolik link for ansible-completion.bash:

    ln -vs ~/soft/ansible-completion/ansible-completion.bash /usr/local/share/bash-completion/completions/ansible
    

Good to know

If the --module-path (-M) or --inventory-file (-i) is on the command line, the completion will use it.

For the completion on module name, the completion script build a cache of modules names.

You can set the cache timeout with the environement variable ANSIBLE_COMPLETION_CACHE_TIMEOUT, the default value is 120 seconds.

Contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].