Преглед на файлове

new ansible apt module format

master
Markus Katharina Brechtel преди 5 години
родител
ревизия
24089bf8ae
променени са 2 файла, в които са добавени 17 реда и са изтрити 20 реда
  1. +13
    -15
      tasks/main.yml
  2. +4
    -5
      tasks/maintenance.yml

+ 13
- 15
tasks/main.yml Целия файл

@@ -7,25 +7,23 @@

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

- name: install packages
apt:
pkg: "{{ item }}"
with_items:
- xserver-xorg
- xserver-xorg-video-all
- xserver-xorg-input-all
- x11-xserver-utils
- lightdm
- lightdm-gtk-greeter
- onboard
pkg:
- xserver-xorg
- xserver-xorg-video-all
- xserver-xorg-input-all
- x11-xserver-utils
- lightdm
- lightdm-gtk-greeter
- onboard
notify: restart lightdm

- import_tasks: maintenance.yml


+ 4
- 5
tasks/maintenance.yml Целия файл

@@ -2,11 +2,10 @@

- name: install maintenance mode packages
apt:
name: "{{ item }}"
with_items:
- yad
- xbindkeys
- feh
name:
- yad
- xbindkeys
- feh
notify: restart lightdm

- name: maintenance user


Loading…
Отказ
Запис