bglug-it / client-pull-installation Goto Github PK
View Code? Open in Web Editor NEWAnsible-pull configuration playbook for domain clients - Progetto Scuola, BgLUG
License: GNU General Public License v3.0
Ansible-pull configuration playbook for domain clients - Progetto Scuola, BgLUG
License: GNU General Public License v3.0
Screen diffusion within Epoptes works like this: the single client will connect to a VNC session on a random port on the docenti machine. Since ufw
will block random ports access, ufw
needs to be disabled (it was installed as dependency during preseed).
It should be sufficient to do these two commands:
echo "manual" > /etc/init/ufw.override
stop ufw
In many installations (where configuration of pulseaudio went wrong because of errors within the Ansible playbook) the script for fixing audio permissions for domain users is not working at all. Result is that audio is not working on any clients.
Manual fixing can be done with the following steps:
/etc/init/pulseaudio.conf
(fix already designed and implemented but last implementation is not fully working, so I am going to change it);.pulse
and .config/pulse
folders for all users (best done on the server with root
account);Probably is a good idea to provide a script (or a playbook within the server) to fix the issue on the whole infrastructure (well, it shouldn't happen anymore, but still...).
I suspect it has to do with the fact that the script would be run when the network stack hasn't been taken up yet.
I propose to convert it to an upstart task and make it dependent on two services: pulseaudio and samba.
This should have to do with ansible, but after domain join the client machine doesn't restart.
First proposal is to include path for 'shutdown -r now' command used within playbooks.
Images are to be supported for as long as possible. Installing Hardware Enablement stack by Ubuntu will align 14.04 Trusty installations with basic packages from 16.04 Xential.
Based on instructions here:
apt-get install --install-recommends linux-generic-lts-xenial xserver-xorg-core-lts-xenial xserver-xorg-lts-xenial xserver-xorg-video-all-lts-xenial xserver-xorg-input-all-lts-xenial libwayland-egl1-mesa-lts-xenial
Reinstalling a new PC with role "client" does not install epoptes-client, it seems. This will break the ansible chain and leave the configuration not working.
The fix I propose is to verify that the package epoptes-client
is installed before doing stuff that requires it inside the playbook.
Sometimes, breakage on APT stack blocks the Ansible chain on clients.
I suggest to call these two commands everytime to ensure APT is not broken:
dpkg --configure -a
apt-get install -f
Base Edubuntu lacks basic functions for working in normal environments.
Please add ubuntu-restricted-extras
to the packages installed by default on clients, as it was requested with issue #2 for server-config
, as it can't be done within presed (brokes it).
Any user may disable NetworkManager within his/her interface. This is a problem, because the interface cannot be re-enabled and a local administrator needs to log in and fix the mess.
Please disable the possibility for a non "Domain operator/Domain Administrator" user to disable the network interfaces and the network stack within NetworkManager.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.