Skip to content

Commit af69790

Browse files
committed
Fixes #221: Final tweaks to orchestration testing.
1 parent de3e842 commit af69790

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

orchestration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Ansible playbooks are flexible and powerful. But sometimes, you just need to run
44

55
Just like the device in Ender's Game, the `ansible` command allows you to run commands or call Ansible modules immediately on one or one hundred of servers.
66

7-
This simple Vagrantfile configures three Virtual Machines using Vagrant and VirtualBox: `app1`, `app2`, and `db`, to emulate a small-scale real-world infrastructure (two application servers and a database server), so you can practice running `ansible` commands across them, and work on a flexible Ansible inventory.
7+
This project configures three Virtual Machines using Vagrant and VirtualBox: `app1`, `app2`, and `db`, to emulate a small-scale real-world infrastructure (two application servers and a database server), so you can practice running `ansible` commands across them, and work on a flexible Ansible inventory.
88

99
## Quick Start Guide
1010

orchestration/scripts/multi.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
set -e
55

66
# Other commands from the book.
7+
ansible multi -b -m yum -a "name=chrony state=present"
78
ansible multi -m stat -a "path=/etc/environment"
89
ansible multi -m copy -a "src=/etc/hosts dest=/tmp/hosts"
910
ansible multi -b -m fetch -a "src=/etc/hosts dest=/tmp"
1011
ansible multi -m file -a "dest=/tmp/test mode=644 state=directory"
1112
ansible multi -m file -a "dest=/tmp/test state=absent"
1213
ansible multi -b -B 3600 -P 0 -a "yum -y update"
13-
# ansible multi -b -a "tail /var/log/messages"
14-
# ansible multi -b -m shell -a "tail /var/log/messages | grep ansible-command | wc -l"

0 commit comments

Comments
 (0)