Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

5 total results found

Deploy a DotNet Service with Ansible

HowTo 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
dotnet
deployment

Ansible Generic Commands

HowTo Ansible

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

Ansible Command References

HowTo Ansible

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

Ansible Commands Cheat Sheet

HowTo Ansible

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 ...

ansible

Debugging Ansible Playbook

HowTo Ansible

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...

ansible
debugging