Bug fix; add coq and general-use container playbook
This commit is contained in:
parent
3f343382d8
commit
cfd65ca645
7
hosts
7
hosts
|
@ -1,6 +1,4 @@
|
||||||
[new-office]
|
[new-office]
|
||||||
natural-flavours
|
|
||||||
#.csclub.uwaterloo.ca
|
|
||||||
|
|
||||||
[general-use]
|
[general-use]
|
||||||
caffeine.csclub.uwaterloo.ca
|
caffeine.csclub.uwaterloo.ca
|
||||||
|
@ -8,6 +6,8 @@ corn-syrup.csclub.uwaterloo.ca
|
||||||
hfcs.csclub.uwaterloo.ca
|
hfcs.csclub.uwaterloo.ca
|
||||||
sucrose.csclub.uwaterloo.ca
|
sucrose.csclub.uwaterloo.ca
|
||||||
taurine.csclub.uwaterloo.ca
|
taurine.csclub.uwaterloo.ca
|
||||||
|
caffeine-00.csclub.uwaterloo.ca
|
||||||
|
caffeine-01.csclub.uwaterloo.ca
|
||||||
|
|
||||||
[office]
|
[office]
|
||||||
bit-shifter.csclub.uwaterloo.ca
|
bit-shifter.csclub.uwaterloo.ca
|
||||||
|
@ -29,6 +29,9 @@ munin.csclub.uwaterloo.ca
|
||||||
rt.csclub.uwaterloo.ca
|
rt.csclub.uwaterloo.ca
|
||||||
netbox.csclub.uwaterloo.ca
|
netbox.csclub.uwaterloo.ca
|
||||||
sodium-benzoate.csclub.uwaterloo.ca
|
sodium-benzoate.csclub.uwaterloo.ca
|
||||||
|
yerba-mate.csclub.uwaterloo.ca
|
||||||
|
guayusa.csclub.uwaterloo.ca
|
||||||
|
sandstorm.csclub.uwaterloo.ca
|
||||||
|
|
||||||
[audio-sink]
|
[audio-sink]
|
||||||
nullsleep.csclub.uwaterloo.ca
|
nullsleep.csclub.uwaterloo.ca
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
- hosts: caffeine-00.csclub.uwaterloo.ca
|
||||||
|
become: yes
|
||||||
|
become_method: sudo
|
||||||
|
roles:
|
||||||
|
- common
|
||||||
|
- core
|
||||||
|
- devel
|
||||||
|
- generate-hosts
|
||||||
|
- auth
|
||||||
|
- csc-packages
|
||||||
|
- general-use
|
||||||
|
- ipv6-disable-ra-privacy
|
||||||
|
- cleanup
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- hosts: sodium-benzoate.csclub.uwaterloo.ca
|
- hosts: yerba-mate.csclub.uwaterloo.ca guayusa.csclub.uwaterloo.ca
|
||||||
become: yes
|
become: yes
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
roles:
|
roles:
|
||||||
|
|
|
@ -58,7 +58,6 @@
|
||||||
- elfutils
|
- elfutils
|
||||||
- valgrind
|
- valgrind
|
||||||
- libc6-dbg
|
- libc6-dbg
|
||||||
- bashdb
|
|
||||||
|
|
||||||
- name: Install interpreters
|
- name: Install interpreters
|
||||||
apt: name={{ item }} state=latest
|
apt: name={{ item }} state=latest
|
||||||
|
@ -110,6 +109,7 @@
|
||||||
- git-arch
|
- git-arch
|
||||||
- git-doc
|
- git-doc
|
||||||
- git-buildpackage
|
- git-buildpackage
|
||||||
|
- git-lfs
|
||||||
- mercurial
|
- mercurial
|
||||||
- subversion
|
- subversion
|
||||||
- subversion-tools
|
- subversion-tools
|
||||||
|
@ -126,7 +126,12 @@
|
||||||
- gitk
|
- gitk
|
||||||
- git-gui
|
- git-gui
|
||||||
- diffutils
|
- diffutils
|
||||||
|
|
||||||
|
- name: Install VCS (Ubuntu)
|
||||||
|
apt: name={{ item }} state=latest
|
||||||
|
with_items:
|
||||||
- tkdiff
|
- tkdiff
|
||||||
|
when: ansible_distribution == "Ubuntu"
|
||||||
|
|
||||||
- name: Install mono
|
- name: Install mono
|
||||||
apt: name={{ item }} state=latest
|
apt: name={{ item }} state=latest
|
||||||
|
@ -258,10 +263,21 @@
|
||||||
- erlang-dev
|
- erlang-dev
|
||||||
- beef
|
- beef
|
||||||
- intercal
|
- intercal
|
||||||
- php-cli
|
|
||||||
- rhino
|
- rhino
|
||||||
- sbcl
|
- sbcl
|
||||||
|
|
||||||
|
- name: Install misc languages on Ubuntu
|
||||||
|
apt: name={{ item }} state=latest
|
||||||
|
with_items:
|
||||||
|
- php-cli
|
||||||
|
when: ansible_distribution == 'Ubuntu'
|
||||||
|
|
||||||
|
- name: Install misc languages on Debian
|
||||||
|
apt: name={{ item }} state=latest
|
||||||
|
with_items:
|
||||||
|
- php5-cli
|
||||||
|
when: ansible_distribution == 'Debian'
|
||||||
|
|
||||||
- name: Install AVR tools
|
- name: Install AVR tools
|
||||||
apt: name={{ item }} state=latest
|
apt: name={{ item }} state=latest
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -293,7 +309,6 @@
|
||||||
- libapt-pkg-dev
|
- libapt-pkg-dev
|
||||||
- linux-libc-dev
|
- linux-libc-dev
|
||||||
- libkrb5-dev
|
- libkrb5-dev
|
||||||
- libgnutls-dev
|
|
||||||
- libreadline-dev
|
- libreadline-dev
|
||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
- libncursesw5-dev
|
- libncursesw5-dev
|
||||||
|
@ -330,6 +345,12 @@
|
||||||
- libmpc-dev
|
- libmpc-dev
|
||||||
- libfplll-dev
|
- libfplll-dev
|
||||||
|
|
||||||
|
- name: Install misc libs on Ubuntu
|
||||||
|
apt: name={{ item }} state=latest
|
||||||
|
with_items:
|
||||||
|
- libgnutls-dev
|
||||||
|
when: ansible_distribution == 'Ubuntu'
|
||||||
|
|
||||||
- name: Install x11 libs
|
- name: Install x11 libs
|
||||||
apt: name={{ item }} state=latest
|
apt: name={{ item }} state=latest
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -362,6 +383,7 @@
|
||||||
- gcc-5-powerpc-linux-gnu
|
- gcc-5-powerpc-linux-gnu
|
||||||
- gcc-5-sparc64-linux-gnu
|
- gcc-5-sparc64-linux-gnu
|
||||||
- gcc-5-s390x-linux-gnu
|
- gcc-5-s390x-linux-gnu
|
||||||
|
when: ansible_distribution == 'Ubuntu'
|
||||||
|
|
||||||
- name: Install misc dev tools
|
- name: Install misc dev tools
|
||||||
apt: name={{ item }} state=latest
|
apt: name={{ item }} state=latest
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"AuthServerWhitelist": "*.csclub.uwaterloo.ca"
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
// This file can be used to configure global preferences for Firefox
|
||||||
|
// Example: Homepage
|
||||||
|
//pref("browser.startup.homepage", "http://www.weebls-stuff.com/wab/");
|
||||||
|
|
||||||
|
pref("network.negotiate-auth.trusted-uris", ".csclub.uwaterloo.ca");
|
|
@ -38,8 +38,8 @@
|
||||||
- name: copy chrome managed policy
|
- name: copy chrome managed policy
|
||||||
copy: src={{ item.src }} dest={{ item.dest }} backup=no
|
copy: src={{ item.src }} dest={{ item.dest }} backup=no
|
||||||
with_items:
|
with_items:
|
||||||
- { src: 'web-kerberos/chrome.json', dest: '/etc/opt/chrome/policies/managed/csc-kerberos.json' }
|
- { src: 'chrome-kerberos.json', dest: '/etc/opt/chrome/policies/managed/csc-kerberos.json' }
|
||||||
- { src: 'web-kerberos/firefox.js', dest: '/etc/firefox/syspref.js' }
|
- { src: 'firefox-kerberos.js', dest: '/etc/firefox/syspref.js' }
|
||||||
|
|
||||||
- name: Install Mail Clients
|
- name: Install Mail Clients
|
||||||
apt: name={{ item }} state=latest
|
apt: name={{ item }} state=latest
|
||||||
|
|
|
@ -103,6 +103,7 @@
|
||||||
- maxima-doc
|
- maxima-doc
|
||||||
- fplll-tools
|
- fplll-tools
|
||||||
- gnuplot-nox
|
- gnuplot-nox
|
||||||
|
- coq
|
||||||
|
|
||||||
|
|
||||||
- name: Install xml tools
|
- name: Install xml tools
|
||||||
|
@ -128,7 +129,6 @@
|
||||||
apt: name={{ item }} state=latest
|
apt: name={{ item }} state=latest
|
||||||
with_items:
|
with_items:
|
||||||
- festival
|
- festival
|
||||||
- ffmpeg
|
|
||||||
- dvgrab
|
- dvgrab
|
||||||
- cdparanoia
|
- cdparanoia
|
||||||
- genisoimage
|
- genisoimage
|
||||||
|
@ -137,17 +137,30 @@
|
||||||
- x264
|
- x264
|
||||||
- mkvtoolnix
|
- mkvtoolnix
|
||||||
- vorbis-tools
|
- vorbis-tools
|
||||||
- mencoder
|
|
||||||
- timidity
|
- timidity
|
||||||
- dvd+rw-tools
|
- dvd+rw-tools
|
||||||
- lame
|
- lame
|
||||||
- twolame
|
- twolame
|
||||||
- cdrdao
|
- cdrdao
|
||||||
- dvdrip
|
|
||||||
- wodim
|
- wodim
|
||||||
- pulseaudio
|
- pulseaudio
|
||||||
- bchunk
|
- bchunk
|
||||||
|
|
||||||
|
- name: Install multimedia tools on Ubuntu
|
||||||
|
apt: name={{ item }} state=latest
|
||||||
|
with_items:
|
||||||
|
- mencoder
|
||||||
|
- dvdrip
|
||||||
|
- ffmpeg
|
||||||
|
when: ansible_distribution == 'Ubuntu'
|
||||||
|
|
||||||
|
- name: Install multimedia tools on Debian
|
||||||
|
apt: name={{ item }} state=latest
|
||||||
|
with_items:
|
||||||
|
- libav-tools
|
||||||
|
when: ansible_distribution == 'Debian'
|
||||||
|
|
||||||
|
|
||||||
- name: Install torrent tools
|
- name: Install torrent tools
|
||||||
apt: name={{ item }} state=latest
|
apt: name={{ item }} state=latest
|
||||||
with_items:
|
with_items:
|
||||||
|
|
|
@ -1,12 +1,18 @@
|
||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
remote_user: root
|
become: yes
|
||||||
|
become_method: sudo
|
||||||
tasks:
|
tasks:
|
||||||
- name: update hosts
|
- name: update hosts
|
||||||
connection: local
|
connection: local
|
||||||
git: repo=~git/public/hosts.git dest=generate-hosts-{{ ansible_hostname }}
|
git: repo=~git/public/hosts.git dest=/tmp/generate-hosts-{{ ansible_hostname }}
|
||||||
- name: generate hosts file
|
- name: generate hosts file
|
||||||
connection: local
|
connection: local
|
||||||
shell: generate-hosts-{{ ansible_hostname }}/generate-hosts.py < generate-hosts-{{ ansible_hostname }}/hosts.in > generate-hosts-{{ ansible_hostname }}/hosts
|
shell: /tmp/generate-hosts-{{ ansible_hostname }}/generate-hosts.py < /tmp/generate-hosts-{{ ansible_hostname }}/hosts.in > /tmp/generate-hosts-{{ ansible_hostname }}/hosts
|
||||||
- name: copy hosts file
|
- name: copy hosts file
|
||||||
copy: src=generate-hosts-{{ ansible_hostname }}/hosts dest=/etc/hosts backup=yes
|
copy: src=/tmp/generate-hosts-{{ ansible_hostname }}/hosts dest=/etc/hosts backup=no
|
||||||
|
- name: etckeeper commit
|
||||||
|
command: etckeeper commit "Update /etc/hosts with ansible"
|
||||||
|
- name: delete local copy
|
||||||
|
connection: local
|
||||||
|
command: rm -rf /tmp/generate-hosts-{{ ansible_hostname }}
|
||||||
|
|
Loading…
Reference in New Issue