Install latest Ansible on Ubuntu

Steps to get the latest version of Ansible installed on Ubuntu or any Ubuntu variant. In my case Kubuntu 18.04.1. danesh@hades:~$ sudo apt-get update danesh@hades:~$ sudo apt-get install software-properties-common danesh@hades:~$ sudo apt-add-repository ppa:ansible/ansible danesh@hades:~$ sudo apt-get update danesh@hades:~$ sudo apt-get install ansible danesh@hades:~$ ansible --version ansible 2.6.2 config file = /etc/ansible/ansible.cfg configured module search path = [u'/home/danesh/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/dist-packages/ansible executable location = /usr/bin/ansible python version = 2....

<span title='2018-08-14 17:48:08 +0000 UTC'>Published on 2018-08-14</span>&nbsp;·&nbsp;<span title='2024-04-28 12:04:12 -0500 -0500'>Updated on 2024-04-28</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Danesh Manoharan

Disable laptop lid action for proxmox

I run a low power proxmox server using my old Lenovo T430s. It’s headless so the lid’s always closed. When I first set it up, closing the lid would send the laptop into standby mode. Here’s what I did to get promox/debian to ignore the laptop lid action. Edit the /etc/systemd/logind.conf file Change the lines below. HandleLidSwitch=ignore HandleLidSwitchDocked=ignore restart the logind service. #systemctl restart systemd-logind.service

<span title='2018-05-22 22:13:31 +0000 UTC'>Published on 2018-05-22</span>&nbsp;·&nbsp;<span title='2024-04-28 12:04:12 -0500 -0500'>Updated on 2024-04-28</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Danesh Manoharan

Installing Franz on Arch Linux

Franz Franz is a new multi-platform messaging app for Linux, MAC and Windows. Been running it my Arch boxes for a few months now and am loving it! It’s not in the default repo so you’ll need the AUR to install it. ArchWiki Once you have your AUR setup, pull the package down and build it. $ yaourt -Sy franz-bin

<span title='2017-03-07 14:49:35 +0000 UTC'>Published on 2017-03-07</span>&nbsp;·&nbsp;<span title='2024-04-28 12:04:12 -0500 -0500'>Updated on 2024-04-28</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Danesh Manoharan

How to disable cnfs in GPFS

Review your current cnfs setup. mmlscluster --cnfs Delete the nodes returned from the previous command from your cnfs configuration. mmchnode --cnfs-interface=DELETE -N foonsd1,foonsd2 Verify cnfs has been disabled. mmlscluster --cnfs

<span title='2016-11-11 08:44:04 +0000 UTC'>Published on 2016-11-11</span>&nbsp;·&nbsp;<span title='2024-04-28 12:04:12 -0500 -0500'>Updated on 2024-04-28</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Danesh Manoharan

redshift fails with Geolocation disabled for UID 1000

Installed redshift on my Arch box today but it kept failing with “Geolocation disabled for UID 1000”. This is a bug which will be fixed in a new release but till then here’s an easy work around. Add the lines below to the /etc/geoclue/geoclue.conf file and restart gnome. [redshift] allowed=true system=false users=

<span title='2016-11-08 15:15:52 +0000 UTC'>Published on 2016-11-08</span>&nbsp;·&nbsp;<span title='2024-04-28 12:04:12 -0500 -0500'>Updated on 2024-04-28</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Danesh Manoharan