Select Git revision
-
nimrod authored
- A different method to not remove the user used by Ansible currently (doesn't rely on anible_user which is defined only in specific cases).
nimrod authored- A different method to not remove the user used by Ansible currently (doesn't rely on anible_user which is defined only in specific cases).
backports.yml 537 B
---
- name: Assert
assert:
that:
- ansible_os_family == 'Debian'
- ansible_distribution_release in [ 'wheezy', 'jessie', 'trusty', 'precise', 'squeeze' ]
- name: Add backports repositories
with_items:
- deb
- deb-src
apt_repository:
repo: '{{ item }} {{ backports_repo[ansible_distribution_release] }}'
state: present
update_cache: yes
- name: Add repo priority pinning
template:
src: backports.j2
dest: /etc/apt/preferences.d/backports
owner: root
group: root
mode: 0o0644