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

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

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

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

debugging
ansible

Managed Host User Setup

System Administration

For hosts that will be managed by Ansible, or some other automated method, the host will need a user account with proper access. Follow these steps to setup the account and access. NOTE: This page assumes that SSH server is setup.And, that the firewall rules...

Linux
deployment
Administration
ansible

Cleaning up Ansible Temp Folders

HowTo Ansible

As Ansible playbooks run, some will fail to cleanup temp folders on the Ansible server. Since the temp folder for most Ansible jobs is configured as '/home/glwhite/Desktop', this will cause an accumulation of folders in that user's Desktop. The folders are n...

Linux
deployment
Administration
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 ...

Administration
deployment
ansible