# A bit of lightweight entertainment

**URL:** <https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137>\
**Category:** Ansible Project\
**Created:** [December 12, 2013, 2:55am UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137 "2013-12-12T02:55:28Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [December 12, 2013, 2:55am UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137/1 "2013-12-12T02:55:28Z")

</div>

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](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 🙂

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [December 12, 2013, 2:55am UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137/2 "2013-12-12T02:55:57Z")

</div>

That’s totally not the right link.

THIS is the right link: [https://github.com/mpdehaan/ansible-and-juliet](https://github.com/mpdehaan/ansible-and-juliet)

There we go.

---

<div class="post-metadata">

**Author:** ![Dimon](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@Dimon](https://forum.ansible.com/u/Dimon)\
**Post date:** [December 12, 2013, 3:08am UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137/3 "2013-12-12T03:08:43Z")

</div>

brilliantly funny 🙂

---

<div class="post-metadata">

**Author:** ![Melissa\_Tan](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Melissa\_Tan](https://forum.ansible.com/u/Melissa_Tan)\
**Post date:** [December 12, 2013, 3:09am UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137/4 "2013-12-12T03:09:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [December 12, 2013, 4:04am UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137/5 "2013-12-12T04:04:33Z")

</div>

Yeah the other notification modules like IRC, campfire, etc, are a bit more useful most of the time 🙂

---

<div class="post-metadata">

**Author:** ![Mark\_Maas](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Post date:** [December 12, 2013, 1:15pm UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137/6 "2013-12-12T13:15:11Z")

</div>

This is ripe for the creation of a youtube video-meme 😉

---

<div class="post-metadata">

**Author:** ![tannerjc](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/tannerjc/32/985_2.png) [@tannerjc](https://forum.ansible.com/u/tannerjc)\
**Post date:** [December 12, 2013, 5:45pm UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137/7 "2013-12-12T17:45:03Z")

</div>

[https://www.youtube.com/watch?v=NIQASyYwhaE](https://www.youtube.com/watch?v=NIQASyYwhaE)

---

<div class="post-metadata">

**Author:** ![Mark\_Maas](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Post date:** [December 12, 2013, 8:22pm UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137/8 "2013-12-12T20:22:27Z")

</div>

Oh god, is there no decency anymore??

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [December 12, 2013, 8:24pm UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137/9 "2013-12-12T20:24:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Mark\_Maas](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Post date:** [December 12, 2013, 8:53pm UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137/10 "2013-12-12T20:53:36Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [December 12, 2013, 9:08pm UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137/11 "2013-12-12T21:08:10Z")

</div>

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:
- 
  - name: Make a splash!

- shell: osascript -e “set Volume 10”
