0x63 blog
  • Home

linux

A collection of 4 posts
Ansible set theory filters in practice
ansible

Ansible set theory filters in practice

Ansible has some really useful filters for various types of objects. A few of those are for sets of something. Recently, I had to use them in practice. In this situation there was a set of system users in users group. Some users needed to be present and their shell
09 May 2017 2 min read
Version numbers in Ansible code
ansible

Version numbers in Ansible code

There are two useful Jinja filters that could help dealing with version numbers in Ansible code. One is version_compare, which allows to compare version numbers. The other is regex_replace, which can be used to get a major.minor version number from a longer version number. Version comparison It
17 Oct 2016 2 min read
File attribute manipulation with chattr
linux

File attribute manipulation with chattr

Linux systems have a utility for changing file attributes on a Linux file system chattr, as well as lsattr that lists the attributes that are set currently. Those are not the -rwxrw-r---type permissions for owner/group/others, but lower level attributes, which have some interesting properties. Previously this functionality was
03 Oct 2016 2 min read
Scheduling one-time tasks with 'at'
linux

Scheduling one-time tasks with 'at'

There are times when you need to execute a given task just once at a later time on a Unix-like operating system. cron might be the obvious choice for this, however, for a one-time task that would require either an elaborate schedule part (e.g. 05 04 12 08 05)
23 Sep 2016 3 min read
Page 1 of 1
0x63 blog © 2025
Powered by Ghost