Kaynağa Gözat

new ansible apt module format

master
ebeveyn
işleme
24089bf8ae
2 değiştirilmiş dosya ile 17 ekleme ve 20 silme
  1. +13
    -15
      tasks/main.yml
  2. +4
    -5
      tasks/maintenance.yml

+ 13
- 15
tasks/main.yml Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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


Yükleniyor…
İptal
Kaydet