Просмотр исходного кода

when applying role set host into maintenance mode and reboot

master
Markus Brechtel 6 лет назад
Родитель
Сommit
4a70648312
3 измененных файлов: 46 добавлений и 24 удалений
  1. +0
    -24
      meta/main.yml
  2. +35
    -0
      tasks/common.yaml
  3. +11
    -0
      tasks/main.yaml

+ 0
- 24
meta/main.yml Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

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


Загрузка…
Отмена
Сохранить