{"id":54434,"date":"2018-11-23T09:00:47","date_gmt":"2018-11-23T09:00:47","guid":{"rendered":"http:\/\/content.n4stack.io\/?p=54434"},"modified":"2020-08-19T12:19:03","modified_gmt":"2020-08-19T11:19:03","slug":"infrastructure-software-automation","status":"publish","type":"post","link":"http:\/\/content.n4stack.io\/2018\/11\/23\/infrastructure-software-automation\/","title":{"rendered":"Infrastructure & Software Automation: When You Should Use It (And Why)"},"content":{"rendered":"

[et_pb_section fb_built=”1″ _builder_version=”3.22″][et_pb_row _builder_version=”3.25″ background_size=”initial” background_position=”top_left” background_repeat=”repeat”][et_pb_column type=”4_4″ _builder_version=”3.25″ custom_padding=”|||” custom_padding__hover=”|||”][et_pb_text ul_item_indent=”40px” _builder_version=”3.27.4″ header_2_text_color=”#e05206″]<\/p>\n

\nIt\u2019s no secret that I like automation, so much so that I wrote a book called Learn Ansible<\/em><\/a> which, as you may have guessed, covers the basic usage Red Hats Ansible. While I try and automate as much as possible, there are a few basic rules I stick to and questions I ask myself when deciding which tasks I should spend time automating.<\/p>\n

Probably the most crucial question is “why am I writing the automation in the first place?”. If the task I have been asked to automate is only ever going to be executed once or, if it is so bespoke that it could only ever be executed against a single host performing a single task, then the time would be better spent reviewing the back up strategy of the machine, any DR requirements and actions that can be taken to make the host as highly available as possible.<\/p>\n

Now that might not sound like a very ‘DevOps’ approach but there is still a lot of value in what is now considered a more traditional way of working. As long as the host or service you are deploying is well documented, and you have a good (by that I mean well maintained and tested) backup and recovery strategy then not everything has to be all singing, all dancing, highly scalable and automated.<\/p>\n