Browse Source

ansible 2.6 convention for apt module

master
parent
commit
7c3b9bf263
2 changed files with 2 additions and 3 deletions
  1. +1
    -1
      tasks/main.yml
  2. +1
    -2
      tasks/maintenance.yml

+ 1
- 1
tasks/main.yml View File

@@ -7,7 +7,7 @@


- name: make sure no other display managers are installed - name: make sure no other display managers are installed
apt: apt:
pkg: "{{ item }}"
name: "{{ item }}"
state: absent state: absent
with_items: with_items:
- slim - slim


+ 1
- 2
tasks/maintenance.yml View File

@@ -2,8 +2,7 @@


- name: install maintenance mode packages - name: install maintenance mode packages
apt: apt:
pkg: "{{ item }}"
state: installed
name: "{{ item }}"
with_items: with_items:
- yad - yad
- xbindkeys - xbindkeys


Loading…
Cancel
Save