Advanced Search
Search Results
5 total results found
Deploy a DotNet Service with Ansible
The following shell command will deploy the binaries and appropriate configuration for a service, to an inventoried host: ansible-playbook deploy-service.yml \ -e "var_host=blissdev" \ -e "var_binrepo=oga-built-dev" \ -e "var_servicename=OGA.HostControl.Se...
Ansible Generic Commands
To list hosts in inventory: ansible-inventory --list -y To ping all hosts: ansible all -m ping -u glwhite To scan a playbook for tasks without making changes: ansible-playbook myplaybook.yml --list-tasks To get a list of hosts affected by a playbook: an...
Ansible Command References
Here’s a large list of possible ansible commands: Ansible AD HOC Command Examples - Ansible Cheat Sheet | Devops Junction Introduction to ad hoc commands — Ansible Community Documentation Ansible Playbook Examples - Sample Ansible Playbooks | Devops Junctio...
Ansible Commands Cheat Sheet
Here’s a list of common ansible commands… Read through this DevOps book pdf for getting Docker and Ansible to work together: https://bjpcjp.github.io/pdfs/devops/ansible-docker.pdf Host Setup Host Setup Playbook This playbook will do basic setup of common ...
Debugging Ansible Playbook
Here are command line switches to enable debug logging of an ansible playbook: #Specify the location for the log file export ANSIBLE_LOG_PATH=~/ansible.log #Enable Debug export ANSIBLE_DEBUG=True #Run with 4*v for connection level verbosity ansible-playb...