Automating Jenkins: A Little Ansible Magic

Automating Jenkins can often be a bit of a black art. Last year to make life easier at my workplace the Ansible jenkins_script module was created and merged upstream into Ansible.

This article delves in to how to make use of it and produces a simple server to carry out jobs.

This builds on the earlier article written a couple of years ago with a greater focus on the Jenkins London User Group presentation.

NetworkManager Revisited - All your rebases are belong to us?

A couple of years back shortly after the release of RHEL7 I wrote an article covering NetworkManager, nmcli and why it should be used.

It did include the caveat about certain edge cases not being supported and a specific bug with the nmcli tool and stacked configurations.

NetworkManager has, of course, progressed in development since then and there was a major rebase to NM 1.4.0 in RHEL7.3 - this article dives into what new capabilities this provides and significant behaviour changes from the older release.

Migrating from owncloud to nextcloud in Fedora and CentOS

Over the past few months the question of "are you going to maintain nextcloud too and what is going to happen to owncloud" has come up more than a few times.

The nextcloud packages have recently made it through package review and nextcloud 10 will be arriving in Fedora and EPEL7 soon.

This article dives into the steps to migrate for those who want to do so.

Getting groovy with jenkins

Jenkins is often the tool of choice in Continuous Integration environments.

Somewhat ironically this engine at the centre of many DevOps strategies is a rather remarkable pain to provision and configure from Configuration Management tools.

There are ongoing efforts to improve this state of affairs with the likes of GitlabCI and Travis nipping at the heels of the old dog (Blue Ocean initiative), but they only help once it is actually provisioned.

In this article we'll delve into configuring a Jenkins instance via ansible to take a couple of empty systems and end up with projects found in GitHub with anything having a Jenkinsfile automatically being run.

Running newer applications on CentOS

There is a growing need to provide newer versions of PHP, python, ruby and similar on CentOS than is shipped in the base distribution.

In this article we explore the various options to handle this requirement and the pros and cons of each.

A Day in the Life of a Fedora Packager

I'm often asked what role a packager plays and why it can take so long from an upstream release to a package arriving in Fedora or EPEL sometimes.

In this article we'll step through what happens on an OwnCloud update upstream and the journey it takes to arrive in Fedora and EPEL.

VM testing quick and dirty

Having ansible check libvirt for hosts to configure is very useful for quick role testing but that VM still has to be created in the first place, you have to look up the IP to SSH to it still and removing it afterwards needs to be clean.

Of course virsh gives us a lot of scriptable capabilities ...

Ansible and libvirt, a marriage made in python

I've recently started making better use of Ansible for orchestration and agentless configuration management. Like most of us test virtual machines are very important to me but the lack of DNS resolution for $random VM made updating an inventory file a bit of a chore. So I decided to explore other options to make my life easier.

Building RPMs for fun and profit

Building RPMs is an important part of being a linux administrator in the RHEL world. Being on a package managed distribution local source builds leave an inconsistent environment and can be hard to clean up afterwards. Trying to replicate the system using configuration management tools can also end up being very painful when doing this, and if in an environment that involves auditors being able to pull up full package lists and changelogs via rpm becomes extremely useful.

But how best to build these in a way that is reproducible and keeps a clean build environment?

Polkit Configuration, Usage and Reasons

Polkit (formerly known as PolicyKit) integration is becoming more common in applications but the configuration and use of it remains a bit of a black art. This is not helped by the significant difference in doing so between CentOS6 and Fedora/CentOS7 rendering guides between the two as incompatible.

This article explores the differences between these versions and expands on the brief references in the libvirt and firewalld articles with more detail.

Pages

Subscribe to www.hogarthuk.com RSS