You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
421 B

---
- name: apt-get update
tags: normal
apt: update_cache=yes
ignore_errors: no
when: ansible_distribution == 'Debian'
- name: apt-get upgrade (safe)
tags: normal
apt: upgrade=safe # http://docs.ansible.com/apt_module.html
when: ansible_distribution == 'Debian'
- name: yum update
tags: normal
yum: name=* state=latest
when: ansible_distribution == 'CentOS' or ansible_distribution == 'CloudLinux'