roles/repositories/tasks/debian.yml

Fri, 10 Feb 2017 03:23:06 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 10 Feb 2017 03:23:06 -0500
changeset 47
9706ed9b8f06
parent 32
70eb0f5478d8
child 48
af865a84224a
permissions
-rw-r--r--

fix

---

- name: add python-apt
  apt: name=python-apt state=installed

- include: debian-stable.yml
  when: ansible_distribution_release != 'NA'
  tags: repos

- include: debian-testing.yml
  when: ansible_distribution_release == 'NA'
  tags: repos

- name: apt upgrade
  apt: upgrade=yes update_cache=yes cache_valid_time=3600 
  tags: packages, upgrade

mercurial