Selaa lähdekoodia

when applying role set host into maintenance mode and reboot

master
Markus Brechtel 6 vuotta sitten
vanhempi
commit
4a70648312
3 muutettua tiedostoa jossa 46 lisäystä ja 24 poistoa
  1. +0
    -24
      meta/main.yml
  2. +35
    -0
      tasks/common.yaml
  3. +11
    -0
      tasks/main.yaml

+ 0
- 24
meta/main.yml Näytä tiedosto

@@ -1,24 +0,0 @@
dependencies:

# user setup
- name: root_user
- name: users
- name: fish

# system setup
- name: hostname
- name: locales
vars:
locales_default:
lang: de_DE.UTF-8
language: de
- name: timezone
vars:
timezone: Europe/Berlin
- name: keyboard_configuration

# packages setup
- name: debian_repos
- name: debian_packages
- name: system_upgrade
- name: unattended-upgrades

+ 35
- 0
tasks/common.yaml Näytä tiedosto

@@ -0,0 +1,35 @@
---

# user setup
- import_role:
name: root_user
- import_role:
name: users
- import_role:
name: fish

# system setup
- import_role:
name: hostname
- import_role:
name: locales
vars:
locales_default:
lang: de_DE.UTF-8
language: de
- import_role:
name: timezone
vars:
timezone: Europe/Berlin
- import_role:
name: keyboard_configuration

# packages setup
- import_role:
name: debian_repos
- import_role:
name: debian_packages
- import_role:
name: system_upgrade
- import_role:
name: unattended-upgrades

+ 11
- 0
tasks/main.yaml Näytä tiedosto

@@ -1,5 +1,13 @@
---

- import_role:
name: display_manager
vars:
display_manager_background_image: "background/{{ kitapro_background_image }}"
display_manager_state: maintenance

- import_tasks: common.yaml

- import_tasks: xfce.yaml
- import_tasks: backgrounds.yaml

@@ -8,6 +16,9 @@
- import_tasks: kitaplus.yaml
when: kita_plus_url is defined

- import_role:
name: reboot

- import_role:
name: display_manager
vars:


Loading…
Peruuta
Tallenna