Skip to content

Commit

Permalink
tldr (EticaAI/aguia-pescadora#27) iniciado
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Jul 1, 2019
1 parent 0460415 commit 6a7303c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
25 changes: 19 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ organização em _[Etica.AI Infrastructure: Clusters & VPS](https://github.com/o
- [Seu computador local](#seu-computador-local)
- [Instalação do Ansible](#instalação-do-ansible)
- [Servidores remotos](#servidores-remotos)
- [Executar o Playbook](#executar-o-playbook)
- [1](#1-)
- [Executar os Playbooks](#executar-os-playbooks)
- [1-node-tsuru-docker](#1-node-tsuru-docker)
- [etica.dev](#eticadev)
- [Veja também](#veja-também)
- [Referências sobre a pilha de soluções da Águia Pescadora](#referências-sobre-a-pilha-de-soluções-da-águia-pescadora)
Expand All @@ -41,6 +41,18 @@ organização em _[Etica.AI Infrastructure: Clusters & VPS](https://github.com/o

----

**TL;DR**

```bash
# TODO: escrever um tldr.yml (fititnt, 2019-07-01 30:57 BRT)
# @see https://github.com/EticaAI/aguia-pescadora/issues/27
git clone https://github.com/EticaAI/aguia-pescadora-ansible-playbooks.git .
ansible-playbook -i tsuru.example.com 1-node.yml

```

----

<!--
@TODO saber mais sobre o AWX Project https://github.com/ansible/awx (fititnt, 2019-06-29 04:15 BRT)
-->
Expand Down Expand Up @@ -76,19 +88,20 @@ sudo apt install ansible
- Caso opte por instalar com o 1-node.yml o `tsuru-client` requer que a
chave privada usada no momento da instalação seja sem senha.

## Executar o Playbook
## Executar os Playbooks

_@TODO: documentar como executar o playbook (fititnt, 2019-06-28 09:34 BRT)_

### 1 nó
Tsuru PaaS + OpenResty, 1 Nó "Tudo Em Um", Docker puro (sem Kubernetes)
### 1-node-tsuru-docker
![Situação: Trabalho em Progresso](img/badges/status-work-in-progress.svg)
Tsuru PaaS usando docker (sem Kubernetes) com auto-SSL feita por OpenResty + Lua-Resty-autossl

```bash
ansible-playbook -i inventory/1-node-testserver/inventory.ini 1-node.yml
```

### etica.dev
Este é o playbook usado em produção no etica.dev.
![Situação: Trabalho em Progresso](img/badges/status-work-in-progress.svg) Este é o playbook usado em produção no etica.dev.

```bash
ansible-playbook -i inventory/etica.dev/inventory.ini playbook.yml
Expand Down
1 change: 1 addition & 0 deletions playbook.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---

- name: Cluster Águia Pescadora da Etica.AI
hosts: all
remote_user: root
Expand Down
7 changes: 7 additions & 0 deletions tldr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
----

# Playbook construído para ser a tentativa mais fácil possível para alguém que
# já sabe o que fazer mas não quer ler toda documentação

# TODO: escrever um tldr.yml (fititnt, 2019-07-01 30:57 BRT)
# @see https://github.com/EticaAI/aguia-pescadora/issues/27

0 comments on commit 6a7303c

Please sign in to comment.