Gang Of Coders
Home
About Us
Contact Us
All Ansible Solutions on Gang of Coders
Total of 130 Ansible Solutions
Ansible Handler notify vs register
Ansible
Ansible Playbook
Ansible: copy a directory content to another directory
Ansible
Ansible 2.x
Check if a list contains an item in Ansible
Yaml
Ansible
How to specify ansible pretasks for a role?
Dependencies
Ansible
Role
Checking for multiple conditions using "when" on single task in ansible
Ansible
Ansible Playbook
Ansible - How to sequentially execute playbook for each host
Ansible
Ansible Playbook
Ansible. Fast way to check syntax?
Ansible
Ansible Playbook
How specify a list value as variable in ansible inventory file?
List
Variables
Ansible
Inventory
Ansible Galaxy roles install in to a specific directory?
Kubernetes
Ansible
Ansible Galaxy
Is it possible to define playbook-global variables in Ansible?
Ansible
Difference between shell and command in ansible
Ansible
Ansible: In a playbook, filter a role by tag(s) without passing at the command-line
Ansible
Ansible Playbook
ansible ssh prompt known_hosts issue
Ssh
Command Prompt
Ansible
Ansible Playbook
Hosts File
Check if service exists with Ansible
Centos
Ansible
Ansible Playbook
How can I show progress for a long-running Ansible task?
Ansible
Ansible 2.x
What's the difference between inventory_hostname and ansible_hostname
Ansible
Proper way to concatenate variable strings
Ansible
Ansible Playbook
Ansible: read remote file
Ansible
Ansible Playbook
Ansible - actions BEFORE gathering facts
Ansible
Ansible Facts
Ansible - using with_items and when conditional to
Ansible
ansible - delete unmanaged files from directory?
Ansible
Ansible Template
Ansible: copy file if not exists
Ansible
Abort execution of remaining task if certain condition is failed
Ansible
Ansible Playbook
Ansible: best practice for maintaining list of sudoers
Python
Unix
Ansible
User Management
Define `become=yes' per role with Ansible
Ansible
How to join a list of strings in Ansible?
Ansible
Run command on the Ansible host
Deployment
Ansible
How can I pass variable to ansible playbook in the command line?
Variables
Command Line
Command Line-Arguments
Ansible
Ansible Playbook
Specify sudo password for Ansible
Ansible
Safely limiting Ansible playbooks to a single machine?
Ansible
Ansible Playbook
How to move/rename a file using an Ansible task on a remote system
Ansible
How to run only one task in ansible playbook?
Ansible
How to ignore ansible SSH authenticity checking?
Ssh
Ansible
Ansible: How to delete files and folders inside a directory?
Ansible
Delete File
Delete Directory
Ansible fails with /bin/sh: 1: /usr/bin/python: not found
Ansible
Ansible Playbook
ansible: lineinfile for several lines?
Ansible
How to check if a file exists in Ansible?
Ansible
What's the difference between defaults and vars in an Ansible role?
Ansible
Where can I get a list of Ansible pre-defined variables?
Ansible
Ansible Facts
How to switch a user per task or set of tasks?
Ansible
How to get the host name of the current machine as defined in the Ansible hosts file?
Ansible
How to do multiline shell script in Ansible
Shell
Ansible
How do you stop Ansible from creating .retry files in the home directory?
Ansible
Ansible - Use default if a variable is not defined
Ansible
Ansible 2.x
How to automatically install Ansible Galaxy roles?
Ansible
Ansible Playbook
Ansible Galaxy
How to run a task when variable is undefined in ansible?
Ansible
Ansible Playbook
Variable that has the path to the current ansible-playbook that is executing?
Ansible
How to set host_key_checking=false in ansible inventory file?
Ansible
What's the easy way to auto create non existing dir in ansible
Ansible
Ansible: get current target host's IP address
Ansible
Ansible Facts
Ansible Template
Override hosts variable of Ansible playbook from the command line
Ansible
Ansible Playbook
Copy multiple files with Ansible
Ansible
How to create an empty file with Ansible?
File
Ansible
How to set Linux environment variables with Ansible
Linux
Ansible
Creating a new user and password with Ansible
Bash
Shell
Ubuntu
Ansible
Ansible Playbooks vs Roles
Ansible
Run task only if host does not belong to a group
Ansible
Ansible: Set variable to file content
Ansible
Ansible Playbook
Ansible: Can I execute role from command line?
Ansible
Ansible Role
How to copy files between two nodes using ansible
Ansible
Specifying ssh key in ansible playbook file
Ansible
Ansible: Store command's stdout in new variable?
Ansible
Ansible Playbook
How to use template module with different set of variables?
Ansible
Ansible Template
How do I get logs/details of ansible-playbook module executions?
Logging
Ansible
Ansible: filter a list by its attributes
Jinja2
Ansible
How to run Ansible without specifying the inventory but the host directly?
Python
Ansible
How do I get a variable with the name of the user running ansible?
Variables
Ansible
ansible : how to pass multiple commands
Module
Command
Ansible
Escaping double curly braces in Ansible
Docker
Jinja2
Ansible
How to get an arbitrary remote user's home directory in Ansible?
Ansible
Ansible Facts
How to copy files with ansible relatively to the role?
Ansible
Ansible Playbook
How to create a directory using Ansible
Directory
Filesystems
Ansible
Not possible to source .bashrc with Ansible
Ansible
How do I write an Ansible handler with multiple tasks?
Handler
Ansible
Run an Ansible task only when the variable contains a specific string
Linux
Conditional
Ansible
Ansible Playbook
Ansible 2.x
Ansible: How to change active directory in Ansible Playbook?
Ansible
include tasks from another role in ansible playbook
Ansible
Ansible Playbook
Using Ansible set_fact to create a dictionary from register results
Ansible
How can I write variables inside the tasks file in ansible
Ansible
How to run apt update and upgrade via Ansible shell
Ansible
Ansible Playbook
How to decrypt string with ansible-vault 2.3.0
Ansible
Ansible Vault
ansible: include role in a role?
Ansible
Why is copying a directory with Ansible so slow?
Scp
Ansible
How do I set register a variable to persist between plays in ansible?
Deployment
Ansible
Is Ansible a replacement for a CI tool like Hudson/Jenkins?
Jenkins
Hudson
Ansible
Ansible - Mode 755 for directories and 644 for files recursively
File Permissions
Ansible
Ansible: How to encrypt some variables in an inventory file in a separate vault file?
Encryption
Ansible
Ansible Playbook
Ansible Vault
Ansible - accessing local environment variables
Ansible
Ansible notify handlers in another role
Ansible
Ansible Playbook
Ansible - Print message - debug: msg="line1 \n {{ var2 }} \n line3 with var3 = {{ var3 }}"
Action
Newline
Ansible
Roles
Ansible Playbook
Where to store Ansible host file on Mac OS X
Macos
Ansible
Ansible Inventory
Ansible Command module says that '|' is illegal character
Shell
Ansible
Dpkg
Ansible Playbook
How to force handler to run before executing a task in Ansible?
Ansible
Ansible Handlers
Displaying output of a remote command with Ansible
Command Line
Ssh
Configuration Management
Ansible
Ansible playbook shell output
Shell
Sed
Ansible
How can I test jinja2 templates in ansible?
Ansible
Jinja2
Ansible Playbook
Ansible Template
SSH Agent Forwarding with Ansible
Git
Ssh
Ansible
Ssh Agent
Unexpected Exception: name 'basestring' is not defined when invoking ansible2
Python
Python 3.x
Ansible
Ansible 2.x
How to continue execution on failed task after fixing error in playbook?
Ansible
Ansible Playbook
Only check whether a line present in a file (ansible)
Ansible
How do I exit Ansible play without error on a condition
Ansible
Ansible: How to chmod +x a file with Ansible?
Bash
Ansible
Missing sudo password in Ansible
Ansible
How to execute a shell script on a remote server using Ansible?
Shell
Ansible
Remote Server
Ansible creating a virtualenv
Python
Ansible
How to use arithmetic when setting a variable value in Ansible?
Ansible
Ansible Ignore errors in tasks and fail at end of the playbook if any tasks had errors
Ansible
Ansible Playbook
How to make Ansible execute a shell script if a package is not installed
Ansible
Accessing inventory host variable in Ansible playbook
Ansible
Ansible 2.x
Ansible Inventory
shell-init: error retrieving current directory: getcwd -- The usual fixes do not wor
Linux
Bash
Shell
Ssh
Ansible
Conditionally define variable in Ansible
Ansible
Skip Ansible task when running in check mode?
Ansible
Ansible Playbook
Using set_facts and with_items together in Ansible
Ansible
Why does Ansible show "ERROR! no action detected in task" error?
Ansible
How to create a relative symlink in Ansible?
Ansible
Ansible 2.x
Create and use group without restart
Ansible
Difference between become and become_user in Ansible
Ansible
Ansible Playbook
Ansible 2.x
Ansible: To use the 'ssh' connection type with passwords, you must install the sshpass program"
Ansible
Ansible: how to construct a variable from another variable and then fetch it's value
Ansible
How to define private SSH keys for servers in dynamic inventories
Ansible
Ansible SSH private key in source control?
Git
Ssh
Ansible
Ssh Keys
Ansible: How to test that a registered variable is not empty?
Ansible
Yaml
user vs sudo vs sudo_user in ansible playbooks
Sudo
Ansible
merging dictionaries in ansible
Python
Dictionary
Merge
Ansible
How to detect why Ansible playbook hangs during execution
Ubuntu
Deployment
Ansible
Ansible Playbook
Provisioning
Ansible: Get all the IP addresses of a group
Ansible
Jinja2
Ansible Playbook
How to retry Ansible task that may fail?
Ansible
Ansible: deploy on multiple hosts in the same time
Ansible
Ansible - Save registered variable to file
Ansible
Ansible Playbook
Ansible date variable
Ansible
Fact