From 32136d923fc9d440a5d6d02f2dbda87eb739d52f Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Thu, 25 May 2017 11:13:11 +0000 Subject: [PATCH] current --- files/apt-preferences | 3 +++ tasks/setup_Debian.yml | 8 +++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/files/apt-preferences b/files/apt-preferences index e69de29..5720b61 100644 --- a/files/apt-preferences +++ b/files/apt-preferences @@ -0,0 +1,3 @@ + Package: ansible + Pin: release n=jessie-backports + Pin-Priority: 900 diff --git a/tasks/setup_Debian.yml b/tasks/setup_Debian.yml index 0ad0e81..152edad 100644 --- a/tasks/setup_Debian.yml +++ b/tasks/setup_Debian.yml @@ -1,13 +1,11 @@ --- -- name: apt preferences +- name: pin ansible for backports copy: src: apt-preferences dest: /etc/apt/preferences.d/ansible -- name: apt packages installed +- name: install ansible apt: - pkg: "{{item}}" + pkg: ansible state: present - with_items: - - ansible