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....

2018-08-14 · 1 min · 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

2018-05-22 · 1 min · 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

2017-03-07 · 1 min · 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

2016-11-11 · 1 min · 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=

2016-11-08 · 1 min · Danesh Manoharan