Ansible & Terraform

Get help with Automation using Ansible and Terraform. AGIX Linux staff have the know-how and experience to help your organization with automation using best-practices, current technology in various Cloud environments including Amazon AWS. This page shows examples of our work that AGIX Linux shares freely with you. For a fully supported compute environment, contact our team to find out how we can help your organization move forward in the right way.

See Our Blogs on Ansible & Terraform

How to Expire (disable) a User Account using Ansible

This article explains how to disbale user accounts to prevent them logging in via SSH (for example). This will apply to password logins and key-based logins. This is a mini-HowTo demonstrating how to disable or expire a user using Ansible. Put the following into a file called “playbook-expire-user.yml”. --- -

Ansible Variables – a 5 minute Intro

Ansible supports “variables” just like any scripting language. Actually, Ansible uses the YAML format and YAML supports variables. Confused, don’t be. It’s simple. You don’t need to know YAML to use Ansible and i bet you’ve already got things working with Ansible enough that you’re ready to start expanding your

Build an EC2 using Ansible Step By Step

This article explains step by step how to create (spin up) an EC2 instance within AWS using Ansible and a few extras. Unlike 100% of other articles out there, this one actually demonstrates how to do it. Pay attention to the date of this article because things DO change over

Ansible Playbook to add script to Cron.monthly (or whatever) in Redhat/CentOS

This playbook will add the script “myscript.sh” to the target machine(s) “/etc/cron.monthly” directory thereby having it run each month by cron. You can simply change the location to have it go into one of the other cron.x locations. I’ve used ansible version “ansible 1.9.4”. --- - hosts: all sudo: yes

Add a New or Existing user to Multiple Groups using Ansible

There are several popular search results for this answer but they all skip the important part – and are incorrect as a result. --- - hosts: all sudo: yes tasks: - user: name=myuser comment="My User" groups=wheel,group1,group2 append=yes This is where they are (and likely you are) going wrong. The “groups”

Ansible as a Puppet Replacement

AGIX is a Linux only (well, 90%) service business so we spend every day installing, upgrading, changing and troubleshooting Linux servers of all types for clients across the world. For the past two years we’ve been using Puppet where suitable and have found it reasonably useful. But as time goes

Use Ansible to Add Users and their SSH public Keys on Multiple Linux Servers

This article demonstrates how to create an Ansible PlayBook that will add users to multiple Linux systems and add their public SSH key allowing them to login securely. Install Ansible on the host that you’ll use to target each of the Linux host you want the new users on. sudo

Install Puppet Server & Client on Redhat & CentOS 6

This article explains how to install the Puppet server (also known as the PuppetMaster) and client on a Redhat or CentOS server. Note that Puppet uses TCP ports 8140, 61613, and 443. First add the Puppet repo on both the puppet client and server systems. The following link has several

Need Help?

"*" indicates required fields

Our Team Is Made Up Of Australian Specialists

Need Help?

Click Here
Call Now Button