浏览代码

current

master
父节点
当前提交
32136d923f
共有 2 个文件被更改,包括 6 次插入5 次删除
  1. +3
    -0
      files/apt-preferences
  2. +3
    -5
      tasks/setup_Debian.yml

+ 3
- 0
files/apt-preferences 查看文件

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

+ 3
- 5
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

正在加载...
取消
保存