roles/repositories/tasks/debian.yml

Wed, 13 Apr 2016 12:53:48 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 13 Apr 2016 12:53:48 -0400
changeset 39
4e8a283d1f87
parent 32
70eb0f5478d8
child 48
af865a84224a
permissions
-rw-r--r--

Remove separate roles

---

- 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