roles/repositories/tasks/debian.yml

Mon, 22 Oct 2018 20:54:07 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 22 Oct 2018 20:54:07 -0500
changeset 85
25111b904b2c
parent 84
fdaa84bcac9c
permissions
-rw-r--r--

use https redirector now

---

- name: add ansible/apt dependencies
  apt: name={{item}} state=installed
  with_items:
    - apt-transport-https
    - 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