This commit is contained in:
2024-09-20 18:39:43 +02:00
parent 51754c44b9
commit b9757f8276
4 changed files with 39 additions and 15 deletions

View File

@@ -30,6 +30,23 @@
tasks: tasks:
# ! alertmanager + ntfy
# route:
# receiver: 'ntfy'
# repeat_interval: 4h
# group_by: [ alertname ]
# receivers:
# - name: "ntfy"
# webhook_configs:
# - url: "http://ntfy-alertmanager:8080"
# - name: Return all secrets from a path # - name: Return all secrets from a path
# delegate_to: localhost # delegate_to: localhost
# ansible.builtin.debug: # ansible.builtin.debug:

26
hosts
View File

@@ -1,6 +1,4 @@
[netbird] [netbird]
scale01 ansible_host=163.172.209.36 ansible_user=stephane
ovh01 ansible_host=5.135.181.11 ansible_user=stephane
scaleway ansible_host=163.172.84.28 ansible_user=stephane scaleway ansible_host=163.172.84.28 ansible_user=stephane
bastion ansible_host=163.172.70.242 ansible_user=stephane bastion ansible_host=163.172.70.242 ansible_user=stephane
@@ -8,18 +6,18 @@ bastion ansible_host=163.172.70.242 ansible_user=stephane
scaleway ansible_host=163.172.84.28 ansible_user=stephane scaleway ansible_host=163.172.84.28 ansible_user=stephane
[cluster] ; [cluster]
scale01 ansible_host=163.172.209.36 ansible_user=stephane ; scale01 ansible_host=163.172.209.36 ansible_user=stephane
ovh01 ansible_host=5.135.181.11 ansible_user=stephane ; ovh01 ansible_host=5.135.181.11 ansible_user=stephane
[docker_swarm_manager] ; [docker_swarm_manager]
#manager ansible_host=192.168.121.68 ansible_user=vagrant ansible_ssh_pass=vagrant ; #manager ansible_host=192.168.121.68 ansible_user=vagrant ansible_ssh_pass=vagrant
ovh01 ansible_host=5.135.181.11 ansible_user=stephane ; ovh01 ansible_host=5.135.181.11 ansible_user=stephane
[docker_swarm_worker] ; [docker_swarm_worker]
#worker ansible_host=192.168.121.128 ansible_user=vagrant ansible_ssh_pass=vagrant ; #worker ansible_host=192.168.121.128 ansible_user=vagrant ansible_ssh_pass=vagrant
scale01 ansible_host=163.172.209.36 ansible_user=stephane ; scale01 ansible_host=163.172.209.36 ansible_user=stephane
[swarm:children] ; [swarm:children]
docker_swarm_manager ; docker_swarm_manager
docker_swarm_worker ; docker_swarm_worker

View File

@@ -63,6 +63,8 @@
ignore_errors: true ignore_errors: true
loop: "{{ target_networks }}" loop: "{{ target_networks }}"
# nmap -sVT -A -T4 --script vuln -oX /opt/xml/scale_83 163.172.83.0/24
# - debug: # - debug:
# msg: "{{ scan2db }}" # msg: "{{ scan2db }}"

View File

@@ -34,3 +34,10 @@
delegate_to: localhost delegate_to: localhost
ansible.builtin.debug: ansible.builtin.debug:
msg: "{{ lookup('community.hashi_vault.hashi_vault', 'secret=apps/data/postgres token=prout url=https://hash.jingoh.fr') }}" msg: "{{ lookup('community.hashi_vault.hashi_vault', 'secret=apps/data/postgres token=prout url=https://hash.jingoh.fr') }}"