Merge branch 'master' into knsupdate

This commit is contained in:
Bet@ 2024-09-11 17:36:17 -03:00
commit 52e7da204d
6 changed files with 17 additions and 10 deletions

View File

@ -78,7 +78,7 @@ Donde
Luego, ejecutamos el comando deploy especificando en -e "..." sus parámetros
```
ansible-playbook deploy.yml -e "host=abyayala alt=abyayala"
ansible-playbook deploy.yml -e "alt=abyayala host=hetzner"
```
Los parámetros obligatorios son:
@ -91,7 +91,7 @@ Los parámetros opcionales pueden ser:
También podemos utilizar parámetros de ansible, por ejemplo
```
ansible-playbook deploy.yml -e "host=abyayala alt=abyayala" --skip-tags=installation,proxy
ansible-playbook deploy.yml -e "alt=abyayala host=hetzner" --skip-tags=installation,proxy
```
Saltea dos partes del proceso, marcadas por tags. En este ejemplo, la instalación y la actualización de Nginx

View File

@ -1,4 +1,4 @@
# ansible-playbook --vault-id @prompt deploy.yml -e "host=digitalocean alt=numerica"
# ansible-playbook --vault-id @prompt deploy.yml -e "alt=abyayala host=hetzner"
# opcional: service define despliegue de servicio especifico
---
- hosts: "{{ host }}"

1
files/ssh/beto.pub Normal file
View File

@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCa+hJgoJjK/kkNwpumsMFXG6vg/+eh0PsMcj/Y2a6a8h+yP86qNtUXQnJyntDFuH/++myKnGRCvNxrGBJgn7vWF2b4F/82A6ooZ6OmluxsoxLth7M9+vOS93AqikkfvxaxBp3T0N/N27KI7MT7G5WrW/aoZ2pDKPaV2X5L3ApzLqNylEn65XFIs5ni6C7XgHpVp/2M7eZEnoAuQxw+X2VbBrpyCQYgBVFg77UZZuBZ8XgpzgNeM3B5P67o4agVmt0M1MuuhGT2rToINw3Op9WKtNkxOLnTo3SmmttovxpVrRn9thLnSzbkzLkgwxiXJ8n1Rox6tnlFzoX3cFKO6JE5QltjSfPSxzEurcZgYBB+0LPrVNCmXu/ggCZdmhcqFlq04ZvF9p9hsGEpAziZvgNhQPsyrxfbqkLEz6a0ydqIGfrQni5tkTYYfGprEr24XCKamb+5dWWqDGy52pJjfkM0yOmEXvq0Km0HReTzpM5sNiDs/VHha3ys5gfg3lPKfGU= numerica@rk

1
files/ssh/infinito.pub Normal file
View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJYJlf9XD7scKJIQX7ufxYSiZ9FALOiXPLy6g3oKyR56 infinito@fedora

View File

@ -6,9 +6,9 @@ ssh_users:
servers_allow:
- all
# - name: latina
# comment: "intra servers"
# root: yes
# servers_allow:
# - macarena.latina.red
- name: infinito
comment: "infinito@fedora"
sudo: yes
servers_allow:
- all

View File

@ -1,8 +1,13 @@
[localhost]
127.0.0.1
[abyayala]
[hetzner]
5.161.236.18
[abyayala:vars]
[hetzner:vars]
ansible_ssh_user=root
[sutty]
sutty.nl
[sutty:vars]