You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+69Lines changed: 69 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,75 @@ Most of the examples are full-fledged VM examples, which use Vagrant, VirtualBox
8
8
9
9
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/).
10
10
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.
Copy file name to clipboardExpand all lines: dynamic-inventory/custom/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Ansible Custom Dynamic Inventory Example
2
2
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.
4
4
5
5
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.
0 commit comments