@@ -17,9 +17,50 @@ meta: Ansible is configuration management tool used for application deployment a |
17 | 17 |
|
18 | 18 |
|
19 | 19 | ### Example Ansible playbooks |
| 20 | +Ansible is far easier to learn when you can read how more full-featured |
| 21 | +playbooks are built using many tasks. An interesting note from my own |
| 22 | +experience is that when you get more experienced using Ansible there are |
| 23 | +many shortcuts in the task syntax so you can often make playbooks that have |
| 24 | +fewer lines of code than when you were less experienced yet the readability |
| 25 | +does not suffer. |
20 | 26 |
|
21 | | -* [ansible-nginx-haproxy-elasticsearch](https://github.com/gp187/ansible-nginx-haproxy-elasticsearch) |
| 27 | +Check out some of these example playbooks to learn more about how you may |
| 28 | +be able to structure your playbooks: |
| 29 | + |
| 30 | +* The |
| 31 | + [prod directory](https://github.com/mattmakai/fsp-deployment-guide/tree/master/prod) |
| 32 | + under the |
| 33 | + [Full Stack Python Deployment Guide open source project code](https://github.com/mattmakai/fsp-deployment-guide) |
| 34 | + contains a full playbook for deploying a standard [Nginx](/nginx.html), |
| 35 | + [Gunicorn](/green-unicorn-gunicorn.html) and [PostgreSQL](/postgresql.html) |
| 36 | + stack. |
22 | 37 |
|
23 | 38 | * [mac-dev-playbook](https://github.com/geerlingguy/mac-dev-playbook) |
| 39 | + configures macOS with various applications and developer tools such as |
| 40 | + [Docker](/docker.html), Homebrew and [Sublime Text](/sublime-text.html). |
| 41 | + |
| 42 | +* [ansible-nginx-haproxy-elasticsearch](https://github.com/gp187/ansible-nginx-haproxy-elasticsearch) |
| 43 | + sets up a server with [Nginx](/nginx.html), HAProxy and ElasticSearch. |
| 44 | + |
| 45 | + |
| 46 | +### Specific Ansible topics |
| 47 | +* [Using Ansible for deploying serverless applications](https://opensource.com/article/17/8/ansible-serverless-applications) |
| 48 | + provides a short overview with an example playbook how Ansible can also |
| 49 | + be useful for configuring [serverless](/serverless.html) applications. |
| 50 | + |
| 51 | +* [DevOps from Scratch, Part 1: Vagrant & Ansible](https://www.kevinlondon.com/2016/09/19/devops-from-scratch-pt-1.html) |
| 52 | + |
| 53 | +* [Ansible: Post-Install Setup](https://valdhaus.co/writings/ansible-post-install/) |
| 54 | + |
| 55 | +* [Managing Docker containers with Ansible](https://linuxacademy.com/howtoguides/posts/show/topic/13750-managing-docker-containers-with-ansible) |
| 56 | + |
| 57 | +* [How To Use Vault to Protect Sensitive Ansible Data on Ubuntu 16.04](https://www.digitalocean.com/community/tutorials/how-to-use-vault-to-protect-sensitive-ansible-data-on-ubuntu-16-04) |
| 58 | + |
| 59 | +* [How to use Ansible Variables and Vaults](https://www.expressvpn.com/blog/ansible-variables-vaults/) |
| 60 | + |
| 61 | +* [CI for Ansible playbooks which require Ansible Vault protected variables](https://www.jeffgeerling.com/blog/2017/ci-ansible-playbooks-which-require-ansible-vault-protected-variables) |
| 62 | + |
| 63 | +* [How to use Ansible to manage PostgreSQL](https://opensource.com/article/17/6/ansible-postgresql-operations) |
24 | 64 |
|
| 65 | +* [Deploy A Replicated MongoDB instance on AWS with Terraform and Ansible](https://blog.eleven-labs.com/en/deploy-a-replicated-mongodb-on-aws-with-terraform-and-ansible/) |
25 | 66 |
|