Compare commits

..

9 Commits

4 changed files with 26 additions and 27 deletions

View File

@ -1,7 +1,7 @@
$ANSIBLE_VAULT;1.1;AES256
34656463636239626332366464373337386539643933653433653362613238666330636334323465
6666373739386430643330666238366237646365623634370a363530303762373036616332313966
31343339373532346538393164373037396135633631653133663862316161373566633938386234
6366613030386432320a313262383838663262373037643138616131343337626234306436323462
64333262663662353836303365316433353463326664623838353339376164313235363339313238
3865613230306436346365623338366564346633343565623964
61346634373262366638356239623132393734353135376535653433636137363331646432323438
3666376430616632613366653463303431313336346166330a616166366330333038666164626663
62623562333864613537313436323136666336656533346264323730386130316566633432383531
3338333862626664380a366638656363363663303031646366303964333361646336666134333134
37383035613166663838373632343061656537326163303831323335333464613964656531383933
3833343663333130636631643865393933656332616636366263

View File

@ -1,9 +1,10 @@
---
# Manages reactivation of pulseaudio as system daemon
- name: "Changing pulseaudio upstart script"
template:
src: pulseaudio.conf
- name: "Allowing pulseaudio to run at startup"
replace:
regexp: '^#start on runlevel.*$'
replace: 'start on runlevel [2345]'
dest: /etc/init/pulseaudio.conf
owner: root
group: root

View File

@ -26,10 +26,10 @@
- domain
- gui
- include: sslproxy.yml
tags:
- domain
- crt
#- include: sslproxy.yml
# tags:
# - domain
# - crt
- include: pkgs.yml
tags:

View File

@ -1,20 +1,18 @@
---
# Since students are disabling deliberately the network interface from
# NetworkManager, we insert the default interface in /etc/network/interfaces
# so they are not available to NM
# Fixing NetworkManager issues.
- name: Ensuring first NIC will never be disabled again
lineinfile:
line: "{{ item }}"
state: present
dest: /etc/network/interfaces
insertafter: EOF
with_items:
- " "
- "auto {{ ansible_default_ipv4.interface }}"
- "iface {{ ansible_default_ipv4.interface }} inet dhcp"
#- name: Ensuring first NIC will never be disabled again
# lineinfile:
# line: "{{ item }}"
# state: present
# dest: /etc/network/interfaces
# insertafter: EOF
# with_items:
# - " "
# - "auto eth0"
# - "iface eth0 inet dhcp"
# Hiding NetworkManager icon from any sessions
# Hiding icon for any sessions
- name: Disabling NetworkManager from popping up in sessions
shell: mv /etc/xdg/autostart/nm-applet.desktop /etc/xdg/autostart/nm-applet.desktop.disabled