Coder Social home page Coder Social logo

bglug-it / client-pull-installation Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 2.0 198 KB

Ansible-pull configuration playbook for domain clients - Progetto Scuola, BgLUG

License: GNU General Public License v3.0

Makefile 18.45% Python 21.65% Shell 59.90%
ansible edubuntu progetto-scuola samba ubuntu

client-pull-installation's People

Contributors

syntaxerrormmm avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

ftg-003 amreo

client-pull-installation's Issues

Install by default ubuntu-restricted-extras

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).

Disable ufw for docenti role machines

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

Pulseaudio fixing script does not work

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:

  • Fixing correct startup within /etc/init/pulseaudio.conf (fix already designed and implemented but last implementation is not fully working, so I am going to change it);
  • Removing previous .pulse and .config/pulse folders for all users (best done on the server with root account);
  • Running at least once the script for fixing the permissions (something like:
    curl -sSL http://pdc.localdomain.dom/ks/preseed/pulseaudio-perms.sh | sudo bash
    )

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.

Network stack can be disabled by user

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.

Install HWE for support until 04/2019

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

Lacking of epoptes-client package on client role breaks ansible-pull

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.

After domain join the machine doesn't reboot.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.