Skip to main content

Random Hacks / σX

Month: June 2013

Percona apt_key download link

June 2, 2013June 2, 2013 james 2 Comments

I’ve just been setting up Ansible and needed to find a download of the Percona RPM GPG APT-KEY so that I could use the apt_key module. You can download the Percona apt-key here: http://www.percona.com/redir/downloads/RPM-GPG-KEY-percona

With Ansible you can add this key to a server via the play:

tasks:
  - name: Add Percona apt-key
    action: apt_key url=http://www.percona.com/redir/downloads/RPM-GPG-KEY-percona state=present

How to make sudo not ask for password – ubuntu

June 1, 2013June 1, 2013 james Leave a comment

I’m just starting to use Ansible to automate the configuration of some of our servers. Therefore, I need to stop sudo asking for a password. You need to edit /etc/sudoers . However, you can’t do this with your usual text editor. You need to use visudo

sudo visudo

To add a your user add the following line:

username ALL=(ALL) NOPASSWD: ALL

Posts pagination

Newer posts 1 2

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Archives

  • April 2025
  • July 2022
  • April 2022
  • June 2020
  • May 2020
  • August 2019
  • July 2019
  • January 2019
  • October 2018
  • September 2018
  • August 2018
  • December 2017
  • October 2017
  • July 2017
  • February 2017
  • January 2017
  • September 2016
  • August 2016
  • July 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012

Categories

  • 3D Printing
  • airplay
  • Ansible
  • Apache
  • Apple
  • apt-cache
  • Bacula
  • Bakfiet
  • Balsamiq Mockups
  • Chamonix
  • Child Friendly Walks
  • Confectionery Sculptures
  • Curl
  • DebugChannel
  • DNS
  • Dropbox
  • Firefox
  • Fogbugz
  • Google Docs
  • Google Drive
  • Google SEO
  • grub
  • HP PSP
  • install4j
  • iphone
  • Jira
  • KVM
  • Linux Voice
  • Macbook
  • MicroAdventures
  • MySQL
  • Nagios
  • Nginx
  • Node
  • PCI Compliance
  • pdf
  • PHP
  • python
  • qcow2
  • Random
  • Security
  • Synology
  • Ubuntu 12.04
  • Ubuntu 13.04
  • Ubuntu 13.10
  • Ubuntu 14.04
  • Ubuntu 15.04
  • Ubuntu 16.04
  • Ubuntu Desktop
  • Ubuntu Server
  • UFW
  • Uncategorized
  • Volvo
  • VPN
  • Walking
  • Warehouse
  • Wild Camping
  • Windows 8
  • Wireshare
  • Wood Burning Stoves
  • Wordpress

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Archives

  • April 2025
  • July 2022
  • April 2022
  • June 2020
  • May 2020
  • August 2019
  • July 2019
  • January 2019
  • October 2018
  • September 2018
  • August 2018
  • December 2017
  • October 2017
  • July 2017
  • February 2017
  • January 2017
  • September 2016
  • August 2016
  • July 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012

Categories

  • 3D Printing
  • airplay
  • Ansible
  • Apache
  • Apple
  • apt-cache
  • Bacula
  • Bakfiet
  • Balsamiq Mockups
  • Chamonix
  • Child Friendly Walks
  • Confectionery Sculptures
  • Curl
  • DebugChannel
  • DNS
  • Dropbox
  • Firefox
  • Fogbugz
  • Google Docs
  • Google Drive
  • Google SEO
  • grub
  • HP PSP
  • install4j
  • iphone
  • Jira
  • KVM
  • Linux Voice
  • Macbook
  • MicroAdventures
  • MySQL
  • Nagios
  • Nginx
  • Node
  • PCI Compliance
  • pdf
  • PHP
  • python
  • qcow2
  • Random
  • Security
  • Synology
  • Ubuntu 12.04
  • Ubuntu 13.04
  • Ubuntu 13.10
  • Ubuntu 14.04
  • Ubuntu 15.04
  • Ubuntu 16.04
  • Ubuntu Desktop
  • Ubuntu Server
  • UFW
  • Uncategorized
  • Volvo
  • VPN
  • Walking
  • Warehouse
  • Wild Camping
  • Windows 8
  • Wireshare
  • Wood Burning Stoves
  • Wordpress
sparkling Theme by Colorlib Powered by WordPress
 

Loading Comments...