From b9757f827603700ab7e990309704b71e2afc6e43 Mon Sep 17 00:00:00 2001 From: staffadmin Date: Fri, 20 Sep 2024 18:39:43 +0200 Subject: [PATCH] [poush] --- backup.yml | 17 +++++++++++++++++ hosts | 26 ++++++++++++-------------- ivre.yml | 2 ++ test-vault.yml | 9 ++++++++- 4 files changed, 39 insertions(+), 15 deletions(-) diff --git a/backup.yml b/backup.yml index ecaffbd..c78c511 100644 --- a/backup.yml +++ b/backup.yml @@ -30,6 +30,23 @@ 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 # delegate_to: localhost # ansible.builtin.debug: diff --git a/hosts b/hosts index ea8d35e..fe91f97 100644 --- a/hosts +++ b/hosts @@ -1,6 +1,4 @@ [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 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 -[cluster] -scale01 ansible_host=163.172.209.36 ansible_user=stephane -ovh01 ansible_host=5.135.181.11 ansible_user=stephane +; [cluster] +; scale01 ansible_host=163.172.209.36 ansible_user=stephane +; ovh01 ansible_host=5.135.181.11 ansible_user=stephane -[docker_swarm_manager] -#manager ansible_host=192.168.121.68 ansible_user=vagrant ansible_ssh_pass=vagrant -ovh01 ansible_host=5.135.181.11 ansible_user=stephane +; [docker_swarm_manager] +; #manager ansible_host=192.168.121.68 ansible_user=vagrant ansible_ssh_pass=vagrant +; ovh01 ansible_host=5.135.181.11 ansible_user=stephane -[docker_swarm_worker] -#worker ansible_host=192.168.121.128 ansible_user=vagrant ansible_ssh_pass=vagrant -scale01 ansible_host=163.172.209.36 ansible_user=stephane +; [docker_swarm_worker] +; #worker ansible_host=192.168.121.128 ansible_user=vagrant ansible_ssh_pass=vagrant +; scale01 ansible_host=163.172.209.36 ansible_user=stephane -[swarm:children] -docker_swarm_manager -docker_swarm_worker \ No newline at end of file +; [swarm:children] +; docker_swarm_manager +; docker_swarm_worker \ No newline at end of file diff --git a/ivre.yml b/ivre.yml index 30f94aa..4acffae 100644 --- a/ivre.yml +++ b/ivre.yml @@ -63,6 +63,8 @@ ignore_errors: true loop: "{{ target_networks }}" +# nmap -sVT -A -T4 --script vuln -oX /opt/xml/scale_83 163.172.83.0/24 + # - debug: # msg: "{{ scan2db }}" diff --git a/test-vault.yml b/test-vault.yml index e954d6e..a97a6eb 100644 --- a/test-vault.yml +++ b/test-vault.yml @@ -33,4 +33,11 @@ - name: Return all secrets from a path delegate_to: localhost ansible.builtin.debug: - msg: "{{ lookup('community.hashi_vault.hashi_vault', 'secret=apps/data/postgres token=prout url=https://hash.jingoh.fr') }}" \ No newline at end of file + msg: "{{ lookup('community.hashi_vault.hashi_vault', 'secret=apps/data/postgres token=prout url=https://hash.jingoh.fr') }}" + + + + + + +