Ver código fonte

assert valid display_manager_state

master
pai
commit
e02b335402
2 arquivos alterados com 9 adições e 0 exclusões
  1. +5
    -0
      tasks/main.yml
  2. +4
    -0
      vars/main.yml

+ 5
- 0
tasks/main.yml Ver arquivo

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

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

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

Carregando…
Cancelar
Salvar