forked from LibreSchool/server-config
Generalizing the edu package to be installed via preseed.
This commit is contained in:
parent
9ced7b7052
commit
5548a1ff5a
@ -20,6 +20,7 @@ org_department: "Laboratorio 1"
|
|||||||
org_city: Caravaggio
|
org_city: Caravaggio
|
||||||
org_phone: "+39 0363 50598"
|
org_phone: "+39 0363 50598"
|
||||||
org_street: "Via Zenale e Butinone, 20"
|
org_street: "Via Zenale e Butinone, 20"
|
||||||
|
edu_package: secondary
|
||||||
mirror_mode: remote
|
mirror_mode: remote
|
||||||
#mirror_nfs_share: 192.168.255.1:/var/spool/apt-mirror/mirror
|
#mirror_nfs_share: 192.168.255.1:/var/spool/apt-mirror/mirror
|
||||||
mirror_host: it.archive.ubuntu.com
|
mirror_host: it.archive.ubuntu.com
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
# Defaults for installation
|
# Defaults for installation
|
||||||
|
edu_package: secondary
|
||||||
mirror_mode: local
|
mirror_mode: local
|
||||||
mirror_host: archive.ubuntu.com
|
mirror_host: archive.ubuntu.com
|
||||||
mirror_path: /ubuntu
|
mirror_path: /ubuntu
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
- name: Configure the edu-package following settings in domain.yml
|
||||||
|
set_fact:
|
||||||
|
edu_package: "{{ ansible_local.domain.edu_package }}"
|
||||||
|
when: ansible_local.domain.edu_package is defined
|
||||||
|
|
||||||
- name: Verifica configurazione ibay preseed
|
- name: Verifica configurazione ibay preseed
|
||||||
shell: /sbin/e-smith/db accounts show ks
|
shell: /sbin/e-smith/db accounts show ks
|
||||||
register: chk_ks_created
|
register: chk_ks_created
|
||||||
|
@ -101,9 +101,9 @@ d-i pkgsel/language-pack-patterns string language-pack-gnome-$LL language-pack-
|
|||||||
|
|
||||||
# Adding libreoffice and ansible
|
# Adding libreoffice and ansible
|
||||||
{% if ansible_bios_version == 'VirtualBox' %}
|
{% if ansible_bios_version == 'VirtualBox' %}
|
||||||
d-i pkgsel/include string epoptes-client dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-secondary python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude virtualbox-guest-dkms
|
d-i pkgsel/include string epoptes-client dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-{{ edu_package }} python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude virtualbox-guest-dkms
|
||||||
{% else %}
|
{% else %}
|
||||||
d-i pkgsel/include string epoptes-client dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-secondary python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude
|
d-i pkgsel/include string epoptes-client dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-{{ edu_package }} python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Post installation tasks
|
# Post installation tasks
|
||||||
|
@ -101,9 +101,9 @@ d-i pkgsel/language-pack-patterns string language-pack-gnome-$LL language-pack-
|
|||||||
|
|
||||||
# Adding libreoffice and ansible
|
# Adding libreoffice and ansible
|
||||||
{% if ansible_bios_version == 'VirtualBox' %}
|
{% if ansible_bios_version == 'VirtualBox' %}
|
||||||
d-i pkgsel/include string epoptes-client dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-secondary python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude virtualbox-guest-dkms
|
d-i pkgsel/include string epoptes-client dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-{{ edu_package }} python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude virtualbox-guest-dkms
|
||||||
{% else %}
|
{% else %}
|
||||||
d-i pkgsel/include string epoptes-client dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-secondary python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude
|
d-i pkgsel/include string epoptes-client dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-{{ edu_package }} python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Post installation tasks
|
# Post installation tasks
|
||||||
|
@ -101,9 +101,9 @@ d-i pkgsel/language-pack-patterns string language-pack-gnome-$LL language-pack-
|
|||||||
|
|
||||||
# Adding libreoffice and ansible
|
# Adding libreoffice and ansible
|
||||||
{% if ansible_bios_version == 'VirtualBox' %}
|
{% if ansible_bios_version == 'VirtualBox' %}
|
||||||
d-i pkgsel/include string epoptes dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-secondary python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude virtualbox-guest-dkms
|
d-i pkgsel/include string epoptes dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-{{ edu_package }} python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude virtualbox-guest-dkms
|
||||||
{% else %}
|
{% else %}
|
||||||
d-i pkgsel/include string epoptes dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-secondary python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude
|
d-i pkgsel/include string epoptes dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-{{ edu_package }} python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Post installation tasks
|
# Post installation tasks
|
||||||
|
@ -101,9 +101,9 @@ d-i pkgsel/language-pack-patterns string language-pack-gnome-$LL language-pack-
|
|||||||
|
|
||||||
# Adding libreoffice and ansible
|
# Adding libreoffice and ansible
|
||||||
{% if ansible_bios_version == 'VirtualBox' %}
|
{% if ansible_bios_version == 'VirtualBox' %}
|
||||||
d-i pkgsel/include string epoptes dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-secondary python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude virtualbox-guest-dkms
|
d-i pkgsel/include string epoptes dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-{{ edu_package }} python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude virtualbox-guest-dkms
|
||||||
{% else %}
|
{% else %}
|
||||||
d-i pkgsel/include string epoptes dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-secondary python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude
|
d-i pkgsel/include string epoptes dialog vim screen cifs-utils curl git openssh-server software-properties-common sshpass ubuntu-edu-{{ edu_package }} python3-uno libreoffice ansible libnss-myhostname sysv-rc-conf unattended-upgrades update-notifier-common aptitude
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Post installation tasks
|
# Post installation tasks
|
||||||
|
@ -97,9 +97,9 @@ d-i pkgsel/language-pack-patterns string language-pack-gnome-$LL language-pack-
|
|||||||
|
|
||||||
# Adding libreoffice and ansible
|
# Adding libreoffice and ansible
|
||||||
{% if ansible_bios_version == 'VirtualBox' %}
|
{% if ansible_bios_version == 'VirtualBox' %}
|
||||||
d-i pkgsel/include string openssh-server libreoffice ansible vim screen git curl cifs-utils ubuntu-edu-secondary libnss-myhostname geogebra geogebra-gnome sysv-rc-conf virtualbox-guest-dkms
|
d-i pkgsel/include string openssh-server libreoffice ansible vim screen git curl cifs-utils ubuntu-edu-{{ edu_package }} libnss-myhostname geogebra geogebra-gnome sysv-rc-conf virtualbox-guest-dkms
|
||||||
{% else %}
|
{% else %}
|
||||||
d-i pkgsel/include string openssh-server libreoffice ansible vim screen git curl cifs-utils ubuntu-edu-secondary libnss-myhostname geogebra geogebra-gnome sysv-rc-conf
|
d-i pkgsel/include string openssh-server libreoffice ansible vim screen git curl cifs-utils ubuntu-edu-{{ edu_package }} libnss-myhostname geogebra geogebra-gnome sysv-rc-conf
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Post installation tasks
|
# Post installation tasks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user