roles/repositories/tasks/debian.yml

Thu, 15 Jun 2017 06:36:18 +0000

author
Meredith <mhoward@roomag.org>
date
Thu, 15 Jun 2017 06:36:18 +0000
changeset 61
c58e9f53dbec
parent 56
b5103023562e
child 84
fdaa84bcac9c
permissions
-rw-r--r--

edited

---

- name: add ansible/apt dependencies
  apt: name={{item}} state=installed
  with_items:
    - aptitude
    - python-apt

- 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