Browse Source

current

master
parent
commit
32136d923f
2 changed files with 6 additions and 5 deletions
  1. +3
    -0
      files/apt-preferences
  2. +3
    -5
      tasks/setup_Debian.yml

+ 3
- 0
files/apt-preferences View File

@@ -0,0 +1,3 @@
Package: ansible
Pin: release n=jessie-backports
Pin-Priority: 900

+ 3
- 5
tasks/setup_Debian.yml View File

@@ -1,13 +1,11 @@
--- ---


- name: apt preferences
- name: pin ansible for backports
copy: copy:
src: apt-preferences src: apt-preferences
dest: /etc/apt/preferences.d/ansible dest: /etc/apt/preferences.d/ansible


- name: apt packages installed
- name: install ansible
apt: apt:
pkg: "{{item}}"
pkg: ansible
state: present state: present
with_items:
- ansible

Loading…
Cancel
Save