From 97e789343481b202989279632fb737577acbecf3 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Thu, 26 Sep 2024 10:53:49 +0200 Subject: [PATCH 1/4] Run inventory refresh post ethereum update Signed-off-by: Barnabas Busa --- ansible/playbook.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ansible/playbook.yaml b/ansible/playbook.yaml index c20d6b1..83e3c74 100644 --- a/ansible/playbook.yaml +++ b/ansible/playbook.yaml @@ -71,12 +71,17 @@ 0 ) }} + - name: refresh inventory + import_role: + name: ethpandaops.general.ethereum_inventory_web + tags: [ethereum, ethereum_node, eth_inventory_web, ethereum_inventory_web] + when: "'bootnode' in group_names" - hosts: bootnode become: true roles: - role: ethpandaops.general.ethereum_inventory_web - tags: [ethereum, ethereum_node, eth_inventory_web, ethereum_inventory_web] + tags: [eth_inventory_web, ethereum_inventory_web] - hosts: dora become: true From 205f8cad279f6bc0bfffa83b5a78fe1090f00a93 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Thu, 26 Sep 2024 10:56:34 +0200 Subject: [PATCH 2/4] Update playbook.yaml Signed-off-by: Barnabas Busa --- ansible/playbook.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/playbook.yaml b/ansible/playbook.yaml index 83e3c74..1e8d237 100644 --- a/ansible/playbook.yaml +++ b/ansible/playbook.yaml @@ -71,7 +71,7 @@ 0 ) }} - - name: refresh inventory + - name: Refresh inventory web import_role: name: ethpandaops.general.ethereum_inventory_web tags: [ethereum, ethereum_node, eth_inventory_web, ethereum_inventory_web] From 15bd0eb42af13c9323351b62a78e807de2ba8e15 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Thu, 26 Sep 2024 10:57:50 +0200 Subject: [PATCH 3/4] Update playbook.yaml Signed-off-by: Barnabas Busa --- ansible/playbook.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/playbook.yaml b/ansible/playbook.yaml index 1e8d237..952f28d 100644 --- a/ansible/playbook.yaml +++ b/ansible/playbook.yaml @@ -72,7 +72,7 @@ ) }} - name: Refresh inventory web - import_role: + ansible.builtin.import_role: name: ethpandaops.general.ethereum_inventory_web tags: [ethereum, ethereum_node, eth_inventory_web, ethereum_inventory_web] when: "'bootnode' in group_names" From 46e4ae597d9653e14b118c64caa1cf28c3c1067b Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Thu, 26 Sep 2024 11:17:43 +0200 Subject: [PATCH 4/4] Update playbook.yaml Signed-off-by: Barnabas Busa --- ansible/playbook.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/playbook.yaml b/ansible/playbook.yaml index 952f28d..0c00570 100644 --- a/ansible/playbook.yaml +++ b/ansible/playbook.yaml @@ -75,7 +75,7 @@ ansible.builtin.import_role: name: ethpandaops.general.ethereum_inventory_web tags: [ethereum, ethereum_node, eth_inventory_web, ethereum_inventory_web] - when: "'bootnode' in group_names" + delegate_to: bootnode-1 - hosts: bootnode become: true