Kaynağa Gözat

treat raspbian correctly

master
ebeveyn
işleme
5d3ac1c575
2 değiştirilmiş dosya ile 32 ekleme ve 18 silme
  1. +0
    -18
      meta/main.yml
  2. +32
    -0
      tasks/main.yaml

+ 0
- 18
meta/main.yml Dosyayı Görüntüle

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

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

# system setup
- name: hostname
- name: locales
- name: timezone
- name: keyboard_configuration

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

+ 32
- 0
tasks/main.yaml Dosyayı Görüntüle

@@ -0,0 +1,32 @@
---

# 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
- import_role:
name: timezone
- import_role:
name: keyboard_configuration

# packages setup
- import_role:
name: debian_repos
when:
- ansible_distribution == "Debian"
- ansible_lsb.id != "Raspbian"
- import_role:
name: debian_packages
- import_role:
name: system_upgrade
- import_role:
name: unattended-upgrades