Skip to content

Instantly share code, notes, and snippets.

@Lerentis
Lerentis / main.yml
Last active November 5, 2017 14:27
update-centos
---
- name: install updates
become: yes
yum:
update_cache: yes
name: '*'
state: latest
when: ansible_os_family == "RedHat"
@Lerentis
Lerentis / main.yml
Created November 5, 2017 12:08
Update Debian with Ansible
---
- name: Update apt keys
become: yes
command: apt-key update
- name: Update apt cache
become: yes
apt:
update_cache: yes

Keybase proof

I hereby claim:

  • I am lerentis on github.
  • I am lerentis (https://keybase.io/lerentis) on keybase.
  • I have a public key ASA35asEYYSyjRDD2IpbD1a4oJhUMztu3ZjN6-k0iese0Qo

To claim this, I am signing this object: