Skip to content

Commit a7894d3

Browse files
committed
Fixes #140: Show mapping of examples to book chapters in README.
1 parent 8d39d16 commit a7894d3

File tree

4 files changed

+73
-3
lines changed

4 files changed

+73
-3
lines changed

README.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,75 @@ Most of the examples are full-fledged VM examples, which use Vagrant, VirtualBox
88

99
For more interesting examples of what you can do with Ansible, please see the [Ansible Vagrant Examples](https://github.com/geerlingguy/ansible-vagrant-examples) repository, and browse through some of [geerlingguy's roles on Ansible Galaxy](https://galaxy.ansible.com/geerlingguy/).
1010

11+
## Examples and Chapters in which they're used
12+
13+
Here is an outline of all the examples contained in this repository, by chapter:
14+
15+
### Chapter 1
16+
17+
- N/A
18+
19+
### Chapter 2
20+
21+
- N/A
22+
23+
### Chapter 3
24+
25+
- [`orchestration`](orchestration/): A simple multiple-VM Vagrant configuration and Ansible inventory to allow testing of multi-server orchestration with `ansible` ad-hoc commands.
26+
27+
### Chapter 4
28+
29+
- [`drupal`](drupal/): A single-file playbook which configures the LAMP stack on a Linux host and installs Drupal.
30+
- [`includes`](includes/): The same playbook as the [`drupal`](drupal/) example, but using `include`s to make the playbook more understandable.
31+
- [`nodejs`](nodejs/): A single-file playbook which configures a Node.js app to run on a Linux host.
32+
- [`solr`](solr/): A single-file playbook which installs Apache Solr on a Linux host.
33+
34+
### Chapter 5
35+
36+
- N/A
37+
38+
### Chapter 6
39+
40+
- [`nodejs-role`](nodejs-role/): The same playbook as the [`nodejs`](nodejs/) example, but using a role to break out the Node.js aspects into a separate `nodejs` role.
41+
42+
### Chapter 7
43+
44+
- [`dynamic-inventory`](dynamic-inventory/): Two example dynamic inventory scripts (one in PHP, one in Python) for use with Ansible.
45+
46+
### Chapter 8
47+
48+
- [`lamp-infrastructure`](lamp-infrastructure/): A multi-server LAMP-based web application infrastructure focused on high-availability and performance for a LAMP-stack app.
49+
- [`elk`](elk/): A two-server example of the Elasticsearch-Logstash-Kibana stack, which uses one server to store and visualize logs centrally, and another server to send logs via Filebeat.
50+
51+
### Chapter 9
52+
53+
- [`deployments`](deployments/): A playbook that deploys a Ruby on Rails application into an environment that runs Passenger and Nginx to handle web requests.
54+
- [`deployments-balancer`](deployments-balancer/): A playbook that handles zero-downtime deployments to webservers running behind an HAProxy load balancer.
55+
- [`deployments-rolling`](deployments-rolling/): A playbook that demonstrates rolling deployments to multiple servers for a Node.js app.
56+
57+
### Chapter 10
58+
59+
- N/A
60+
61+
### Chapter 11
62+
63+
- [`jenkins`](jenkins/): A playbook that installs and configures Jenkins for CI/CD.
64+
65+
### Chapter 12
66+
67+
- [`https-self-signed`](https-self-signed/): A playbook that generates self-signed certificates.
68+
- [`https-letsencrypt`](https-letsencrypt/): A playbook that demonstrates automated certificate management with Let's Encrypt and Ansible.
69+
- [`https-nginx-proxy`](https-nginx-proxy/): A playbook that demonstrates proxying HTTPS traffic through Nginx to HTTP backends.
70+
71+
### Chapter 13
72+
73+
- [`docker`](docker/): Very simple playbook demonstrating Ansible's ability to manage Docker container images.
74+
- [`docker-hubot`](docker-hubot/): Slightly more involved example of Ansible's ability to manage and run Docker container images.
75+
76+
### Chapter 14
77+
78+
- [`kubernetes`](kubernetes/): A playbook that builds a three-node Kubernetes cluster.
79+
1180
## License
1281

1382
MIT

drupal/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Simple Drupal Development VM
22

3-
**For a fully-featured VM environment for Drupal, please check out [Drupal VM](http://www.drupalvm.com/).**
3+
**For a fully-featured VM environment for Drupal, please check out [Drupal VM](https://www.drupalvm.com/).**
44

5-
This project makes local Drupal test/development environment management quick and easy. It installs the following on an Ubuntu 16.04 Linux VM:
5+
This project makes local Drupal test/development environment management quick and easy. It installs the following on an Ubuntu VM:
66

77
- Apache
88
- PHP

dynamic-inventory/custom/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Ansible Custom Dynamic Inventory Example
22

3-
This folder contains a few custom dynamic inventory scripts for use with Ansible.
3+
This folder contains custom dynamic inventory scripts for use with Ansible.
44

55
Each of the scripts has comments for all the different parts of the code which generate and return the inventory in the proper JSON format expected by Ansible.
66

lamp-infrastructure/playbooks/www/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
file:
1919
path: /var/www/html/index.html
2020
state: absent
21+
2122
- name: Copy our fancy server-specific home page.
2223
template:
2324
src: templates/index.php.j2

0 commit comments

Comments
 (0)