Bläddra i källkod

assert valid display_manager_state

master
förälder
incheckning
e02b335402
2 ändrade filer med 9 tillägg och 0 borttagningar
  1. +5
    -0
      tasks/main.yml
  2. +4
    -0
      vars/main.yml

+ 5
- 0
tasks/main.yml Visa fil

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

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

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

Laddar…
Avbryt
Spara