ansible-and-juliet
所属分类:DevOps
开发工具:Shell
文件大小:0KB
下载次数:0
上传日期:2015-10-02 08:26:55
上 传 者:
sh-1993
说明: 一本简单的剧本,为基于Mac的计算机实验室提供娱乐,
(An ansible playbook to provide entertainment for a Mac-based computer lab,)
文件列表:
go.sh (145, 2013-12-11)
hosts (706, 2013-12-11)
romeo_and_juliet.yml (24, 2013-12-11)
scene01.yml (9670, 2013-12-11)
Ansible and Juliet
==================
This is an Ansible playbook, intended to cast a hapless college Mac lab into an unexpected scheduled Shakespearean performance.
If you need Ansible, see http://ansibleworks.com or http://github.com/ansible/ansible
Setup
=====
Start with an Ansible install on an OS X control machine, and check out this project:
cd ansible-and-juliet/
In the hosts file, change the host addresses to computers you wish to enlist:
vim hosts
[cast]
sampson ansible_ssh_host=127.0.0.1 voice=alex
gregory ansible_ssh_host=127.0.0.1 voice=ralph
abraham ansible_ssh_host=127.0.0.1 voice=bruce
tybalt ansible_ssh_host=127.0.0.1 voice=fred
benvolio ansible_ssh_host=127.0.0.1 voice=ralph
first_citizen ansible_ssh_host=127.0.0.1 voice='pipe organ'
capulet ansible_ssh_host=127.0.0.1 voice='cellos'
lady_capulet ansible_ssh_host=127.0.0.1 voice=vicki
montague ansible_ssh_host=127.0.0.1 voice=zarvox
lady_montague ansible_ssh_host=127.0.0.1 voice=victoria
prince ansible_ssh_host=127.0.0.1 voice=trinoids
Now, when ready, start the performance.
ansible-playbook romeo_and_juliet.yml -i hosts -c ssh
Your computer lab will spring to life, performing Shakespeare, in computerized voices from Cuppertino.
Bonus points for using workstations people are actually using at the time.
You can test it locally by using "-c local" instead of "-c ssh".
License
=======
As the bard is public domain, so be thus herein, forsooth, like.
Author
======
Michael DeHaan
Exeunt Stage Right
==================
CURTAIN
近期下载者:
相关文件:
收藏者: