Categories
ansible auto-remediation stackstorm

Add a simple custom action and action alias to stackstorm

In this post I will demonstrate adding a ping action to stackstorm. Then make that action available from chatops (slack) using an action alias. The Scenario On a team of network engineers often certain ip addresses need to be checked if they are accessible. This is done using the ping command. If an engineers would […]

Categories
ansible DevOps

Deploying Stackstorm to a server with Ansible

The information about deploying stackstorm to a server with ansible is in the stackstorm docs. Importantly the galaxy role can’t really be used like a normal ansible-galaxy role. You have to clone the repo: git clone https://github.com/StackStorm/ansible-st2 cd ansible-st2 Then update the inventory, for example in inventory: st2 ansible_host=10.200.1.76 ansible_user=cent ansible_sudo_pass=pass Run the playbook: ansible-playbook […]

Categories
ansible Continuous Integration git jenkins

Getting Jenkins to deploy with ansible using SSH Agent Forwarding

Your CI/CD tool needs access to code and server, for linting, testing and deploying. Setup up access on the various devices in a secure manner can be very time consuming. It is important to make use of available technology to make our lives easier. Jenkins needs access You will have created credentials for Jenkins – […]

Categories
ansible GNU/Linux ubuntu

How to install Ubuntu 16.04 and Automatically Install all my apps

How to install Ubuntu 16.04 and Automatically Install all my apps I’m assuming this gets searched quite a lot. It is one thing installing ubuntu, but another hugely time consuming gig installing all the old applications that you like. Couple that with your configurations of .bashrc, application configs, editor configs and logins for apps and […]