Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature: Automation scripts
A way for automating certain tasks made on one machine to several machines. First case will be exporting an SELinux policy. Primary goal: export state from Machine A to Machine B, C & D Secondary goal: learn Ansible syntax(?!)
Adam is a system administrator at a company selling plants and flowers online. The business is expanding rapidly, and as they scale up their server park to meet increased website visits, they want to start dipping their toes into automation of some tasks, using Ansible. He needs to apply the SELinux policy on one of his web servers to 3 new servers that will also serve traffic, in a load balancing fashion.
Adam logs in to the server that has the SELinux policy he's happy about and that he wants to set on the other machines as well. He goes to the SELinux page, he then brings up the information that has the automation scripts and copies that info to his laptops clipboard. He then logs in to the host running Ansible Tower and pastes the info into a new script. He then runs it and verifies it works as expected.