Add extra package selection.
This commit is contained in:
parent
2c4ef85dca
commit
9010cf710b
3 changed files with 26 additions and 6 deletions
11
README
11
README
|
@ -10,9 +10,9 @@ Installbox
|
|||
- LAN interface not configured/managed
|
||||
|
||||
• Customize installbox.yml:
|
||||
- set if_lan
|
||||
- modify deb_mirror (optional)
|
||||
- enable installbox2kiosk task (optinal)
|
||||
- set if_lan (mandatory)
|
||||
- modify deb_mirror
|
||||
- enable installbox2kiosk task
|
||||
|
||||
• Run ansible:
|
||||
ssh-copy-id ansible@1.2.3.4
|
||||
|
@ -25,8 +25,9 @@ Kiosk
|
|||
- user 'ansible' in sudo group
|
||||
|
||||
• Customize kiosk.yml:
|
||||
- WiFi parameters (optional)
|
||||
- desktop environment (optional)
|
||||
- WiFi parameters
|
||||
- package selection: extra_pkgs and extra_pkgs_bpo for backports
|
||||
- desktop environment
|
||||
|
||||
• Run ansible:
|
||||
ssh-copy-id ansible@1.2.3.4
|
||||
|
|
|
@ -2,13 +2,18 @@
|
|||
# This playbook deploys a kiosk-computer
|
||||
|
||||
- name: apply configuration to the machines
|
||||
hosts: kiosk-computers
|
||||
hosts: all
|
||||
remote_user: ansible
|
||||
become: yes
|
||||
vars:
|
||||
auto_user: debi
|
||||
wifi_ssid: "YOUR SSID HERE"
|
||||
wifi_passwd: "YOUR WIFI-PW HERE"
|
||||
extra_pkgs:
|
||||
- unattended-upgrades
|
||||
- xul-ext-ublock-origin
|
||||
extra_pkgs_bpo:
|
||||
- libreoffice
|
||||
|
||||
roles:
|
||||
- up2date-debian
|
||||
|
|
|
@ -1,3 +1,17 @@
|
|||
- name: add stretch-backports
|
||||
apt_repository:
|
||||
repo: deb http://deb.debian.org/debian/ stretch-backports main
|
||||
state: present
|
||||
update_cache: yes
|
||||
|
||||
- name: install extra packages from stable
|
||||
apt: name={{ item }} state=latest
|
||||
with_items: "{{ extra_pkgs }}"
|
||||
|
||||
- name: install extra packages from backports
|
||||
apt: name={{ item }} state=latest default_release=stretch-backports
|
||||
with_items: "{{ extra_pkgs_bpo }}"
|
||||
|
||||
- name: check if gdm3 is installed
|
||||
stat: path=/etc/gdm3/daemon.conf
|
||||
register: gdm3
|
||||
|
|
Loading…
Add table
Reference in a new issue