aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Isom <kyle@imap.cc>2017-09-25 21:58:36 -0700
committerKyle Isom <kyle@imap.cc>2017-09-25 21:58:36 -0700
commit21c20aeddd43b6ce17d20d8c9334d4bc7c2c26f8 (patch)
tree8d511c07b599ce9d2ed17a1eac62ec43c7724eea
parent5e51847304cef54edd10ce3408470e89c040ea01 (diff)
downloadansible-21c20aeddd43b6ce17d20d8c9334d4bc7c2c26f8.tar.gz
ansible-21c20aeddd43b6ce17d20d8c9334d4bc7c2c26f8.tar.bz2
ansible-21c20aeddd43b6ce17d20d8c9334d4bc7c2c26f8.zip
Large, overdue update of installed programs.
+ add chess and go programs + add evince for printing + add clang + add sagemath and sbcl + add GNU time
-rw-r--r--bragi.yaml1
-rw-r--r--roles/base/tasks/main.yaml1
-rw-r--r--roles/check/tasks/main.yaml16
-rw-r--r--roles/devtools/tasks/main.yaml4
-rw-r--r--roles/laptop/tasks/main.yaml22
-rw-r--r--roles/xtools/tasks/main.yaml1
6 files changed, 45 insertions, 0 deletions
diff --git a/bragi.yaml b/bragi.yaml
index 4ce683d..b22cae9 100644
--- a/bragi.yaml
+++ b/bragi.yaml
@@ -1,6 +1,7 @@
- hosts: localhost
connection: local
roles:
+ - check
- base
- laptop
- devtools
diff --git a/roles/base/tasks/main.yaml b/roles/base/tasks/main.yaml
index 034a814..8534c66 100644
--- a/roles/base/tasks/main.yaml
+++ b/roles/base/tasks/main.yaml
@@ -29,6 +29,7 @@
- sudo
- surfraw
- tcpdump
+ - time
- tmux
- tree
- unzip
diff --git a/roles/check/tasks/main.yaml b/roles/check/tasks/main.yaml
new file mode 100644
index 0000000..84618e8
--- /dev/null
+++ b/roles/check/tasks/main.yaml
@@ -0,0 +1,16 @@
+# verify that the sudo and vault passwords are correct
+- name: verify vault and sudo passwords
+ become: true
+ copy:
+ content: !vault |
+ $ANSIBLE_VAULT;1.1;AES256
+ 37303566343433346132336164386461313564366565646561353862313132303163303836373566
+ 3961353139396436366163396464383935396636646264640a323830303030353231373634396332
+ 61356562333361333434363938383630646665313264393232633138643439663864393565643237
+ 3461613764333636390a653730633538663633363334303830363139613066633531313334336235
+ 3935
+ dest: /tmp/ansible-check
+
+- name: remove test file
+ become: true
+ command: rm /tmp/ansible-check
diff --git a/roles/devtools/tasks/main.yaml b/roles/devtools/tasks/main.yaml
index 93f762d..cc1d4ed 100644
--- a/roles/devtools/tasks/main.yaml
+++ b/roles/devtools/tasks/main.yaml
@@ -6,6 +6,7 @@
with_items:
- ats2-lang
- build-essential
+ - clang
- cmake
- emacs-nox
- git
@@ -17,6 +18,9 @@
- make
- python3-pip
- repo
+ - rlwrap
+ - sbcl
+ - sagemath
- spark
- tig
- zlib1g
diff --git a/roles/laptop/tasks/main.yaml b/roles/laptop/tasks/main.yaml
index a4d9210..f1a28dd 100644
--- a/roles/laptop/tasks/main.yaml
+++ b/roles/laptop/tasks/main.yaml
@@ -15,6 +15,7 @@
- cmus-plugin-ffmpeg
- kpcli
- laptop-mode-tools
+ - mosh
- newsbeuter
- pandoc
- par
@@ -82,3 +83,24 @@
src: rc.local
dest: /etc/rc.local
owner: root
+
+- name: install go and chess programs
+ become: true
+ apt:
+ name: "{{item}}"
+ state: present
+ with_items:
+ - cgoban
+ - crafty
+ - crafty-bitmaps
+ - crafty-books-medium
+ - eboard
+ - eboard-extras-pack1
+ - gnuchess
+ - gnuchess-book
+ - gnugo
+ - scid
+ - scid-rating-data
+ - sjeng
+ - uligo
+ - xboard
diff --git a/roles/xtools/tasks/main.yaml b/roles/xtools/tasks/main.yaml
index 297f8ae..4a2d6a0 100644
--- a/roles/xtools/tasks/main.yaml
+++ b/roles/xtools/tasks/main.yaml
@@ -7,6 +7,7 @@
with_items:
- arandr
- emacs25-lucid
+ - evince # better for printing
- firefox
- netsurf
- scrot