Przeglądaj źródła

treat raspbian correctly

master
rodzic
commit
5d3ac1c575
2 zmienionych plików z 32 dodań i 18 usunięć
  1. +0
    -18
      meta/main.yml
  2. +32
    -0
      tasks/main.yaml

+ 0
- 18
meta/main.yml Wyświetl plik

@@ -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 Wyświetl plik

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