I have long threatened to make a Mac computer lab, using the “say” vocalization tool and the osx_say module in Ansible, perform a work of Shakespeare on a group of computers all sitting across from one another.
Alas, I’ve finally done it:
https://github.com/mpdehaan/ansible
Patches to add the remaining scenes or other works would be accepted, but not encouraged, as we all have better things to do!
All being said, it wouldn’t be hard to code-generate
That’s totally not the right link.
THIS is the right link: https://github.com/mpdehaan/ansible-and-juliet
There we go.
This makes an extremely cool example demonstrating Ansible working. It’s useful to take this example to run a playbook with voice notification as different milestones are done.
Yeah the other notification modules like IRC, campfire, etc, are a bit more useful most of the time
Mark_Maas
(Mark Maas)
December 12, 2013, 1:15pm
6
This is ripe for the creation of a youtube video-meme
tannerjc
(James Tanner)
December 12, 2013, 5:45pm
7
Mark_Maas
(Mark Maas)
December 12, 2013, 8:22pm
8
Oh god, is there no decency anymore??
I’ve just set this with a script on cron (randomizing times and hosts) so it will play on the macs in my office randomly and w/o warning.
Mark_Maas
(Mark Maas)
December 12, 2013, 8:53pm
10
Here I was thinking Managers where the cruel ones…
Who am I kidding, I’m going to do this as well… Across all seven floors…
1st patch!
diff --git a/romeo_and_juliet.yml b/romeo_and_juliet.yml
index 1b9846c…29f8bfd 100644
— a/romeo_and_juliet.yml
+++ b/romeo_and_juliet.yml
@@ -1,2 +1,9 @@
± hosts: sampson
gather_facts: False
sudo: True
tasks:
shell: osascript -e “set Volume 10”