Sfoglia il codice sorgente

assert valid display_manager_state

master
parent
commit
e02b335402
2 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  1. +5
    -0
      tasks/main.yml
  2. +4
    -0
      vars/main.yml

+ 5
- 0
tasks/main.yml Vedi File

@@ -1,5 +1,10 @@
---

- name: assert valid state
assert:
that: display_manager_state in _display_manager_valid_states
msg: "'display_manager_state' must be one of: {{_display_manager_valid_states | join(', ') }}"

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


+ 4
- 0
vars/main.yml Vedi File

@@ -1 +1,5 @@
_display_manager_valid_states:
- multiuser
- maintenance

display_manager_background_image_path: /usr/share/lightdm/background/{{display_manager_background_image}}

Loading…
Annulla
Salva