mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-28 00:57:57 +00:00
Compare commits
4 Commits
feefc19d09
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 5d60378c35 | |||
| 892b80c438 | |||
| 39dd5e0c72 | |||
| 9385da0ed1 |
@ -1,9 +1,9 @@
|
|||||||
[kube-master]
|
[kube-master]
|
||||||
master1 ansible_host=192.168.1.10 ansible_user=ubuntu
|
master1 ansible_host=192.168.1.10 ansible_user=ubuntu ansible_ssh_common_args='-o StrictHostKeyChecking=no'
|
||||||
|
|
||||||
[kube-node]
|
[kube-node]
|
||||||
node1 ansible_host=192.168.1.11 ansible_user=ubuntu
|
node1 ansible_host=192.168.1.11 ansible_user=ubuntu ansible_ssh_common_args='-o StrictHostKeyChecking=no'
|
||||||
node2 ansible_host=192.168.1.12 ansible_user=ubuntu
|
node2 ansible_host=192.168.1.12 ansible_user=ubuntu ansible_ssh_common_args='-o StrictHostKeyChecking=no'
|
||||||
|
|
||||||
[all:vars]
|
#[all:vars]
|
||||||
ansible_python_interpreter=/usr/bin/python3
|
#ansible_python_interpreter=/usr/bin/python3
|
||||||
@ -3,6 +3,7 @@
|
|||||||
become: yes
|
become: yes
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
- vaultwarden
|
||||||
- kubernetes
|
- kubernetes
|
||||||
- kube-master
|
- kube-master
|
||||||
|
|
||||||
|
|||||||
0
roles/stolon/tasks/main.yml
Normal file
0
roles/stolon/tasks/main.yml
Normal file
4
roles/vaultwarden/tasks/main.yml
Normal file
4
roles/vaultwarden/tasks/main.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
- name: Buscar secret do Vaultwarden
|
||||||
|
command: "bw get item 'nome-do-secret'"
|
||||||
|
register: secret_raw
|
||||||
|
#no_log: true
|
||||||
Reference in New Issue
Block a user