-
Manage Red Hat Enterprise Linux like a Boss with Red Hat Ansible Content Collection for Red Hat Insights
Running IT environments means facing many challenges at the same time: security, performance, availability and stability are critical for the successful operation of today’s data centers. IT managers and their teams of administrators, operators and architects are well advised to move from a reactive, “fire-fighting” mode to a proactive approach where systems are continuously scanned and improvements are applied before critical situations come up. Red Hat Insights routinely analyzes Red Hat Enterprise Linux systems for security/vulnerability, compliance, performance, availability and stability threats, and based on the results, can provide guidance on how to improve daily operations. Insights is included with your Red Hat Enterprise Linux subscription and located at cloud.redhat.com. …
-
Define your own Failure
Ansible determines success of a playbook by the success or failure of the individual tasks in the play. Sometimes this method is limiting because it does not account for higher level logic that might dictate a failure however, there is a module that can be used to account for this. The fail module allows Ansible to process a conditional statement and will fail the play if the condition fails. Lets look at an example. …
-
Ansible ignore_errors
There are times that we do need to build some error handling logic into our playbooks. Ansible provides some built in directives and modules to help. In this post we are going to focus on ignore_errors. Ignore errors is not an excuse to ignore logic. If you find yourself using this often, you may want to step back and make sure that you’re no drifting away from the idempotent philosophy of Ansible. Take this example below, ``` — hosts: all gather_facts: no …
-
Ansible failed_when
This begins a series of posts I will be publishing on error handling. The first will focus on the failed_when directive. This allows for you to define what constitutes a “failure” even though the module may define it differently. Here is an example… ``` — hosts: all gather_facts: no …
-
Getting Complex
Recently I completed my complex endorsement in a Piper Arrow III. This plane had been relocated to the airport nearby so, I was interested to give it a try. My real interest in flying the Arrow is the hope that it will be utilized less than the C172’s and I would be able to do more cross country flights. The complex rating was more of an added bonus. …
-
Visual Studio Code for Windows
Every few years I find myself transitioning from one text editor to another. Starting with NotePad++ I moved to Sublime Text, then Atom, and more recently to Visual Studio Code. Just for clarification, I run a Mac but one reason I’ve liked VS Code so much is because of how it works across platforms, especially Windows. If you’re really just interested in the setup, scroll down a little. Before I get to that though, I want to highlight a few reasons why VS Code has become one of my favorites. …