roles/repositories/tasks/debian.yml

Fri, 23 Jun 2017 20:51:34 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 23 Jun 2017 20:51:34 -0400
changeset 78
fe6ef0cccdf1
parent 56
b5103023562e
child 84
fdaa84bcac9c
permissions
-rw-r--r--

pull out bootstrap so it can be run with one tag

---

- 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