diff --git a/ansible/inventories/devnet-3/group_vars/all/all.yaml b/ansible/inventories/devnet-3/group_vars/all/all.yaml index 81b6f58..f3840a4 100644 --- a/ansible/inventories/devnet-3/group_vars/all/all.yaml +++ b/ansible/inventories/devnet-3/group_vars/all/all.yaml @@ -335,9 +335,8 @@ otelcol_contrib_config: | - type: container format: docker add_metadata_from_filepath: true - on_error: drop_quiet - type: filter - expr: 'attributes["container.name"] == nil or attributes["container.name"] matches "^(otelcol|ethereum-metrics-exporter|nginx-proxy|node_exporter|prometheus|snooper-.*)$"' + expr: 'attributes["container.name"] != nil and attributes["container.name"] matches "^(otelcol|ethereum-metrics-exporter|nginx-proxy|node_exporter|prometheus|snooper-.*)$"' - type: json_parser if: 'body matches "^\\s*\\{"' on_error: send diff --git a/ansible/inventories/devnet-6/group_vars/all/all.yaml b/ansible/inventories/devnet-6/group_vars/all/all.yaml index 2503f99..ca58920 100644 --- a/ansible/inventories/devnet-6/group_vars/all/all.yaml +++ b/ansible/inventories/devnet-6/group_vars/all/all.yaml @@ -369,9 +369,8 @@ otelcol_contrib_config: | - type: container format: docker add_metadata_from_filepath: true - on_error: drop_quiet - type: filter - expr: 'attributes["container.name"] == nil or attributes["container.name"] matches "^(otelcol|ethereum-metrics-exporter|nginx-proxy|node_exporter|prometheus|snooper-.*)$"' + expr: 'attributes["container.name"] != nil and attributes["container.name"] matches "^(otelcol|ethereum-metrics-exporter|nginx-proxy|node_exporter|prometheus|snooper-.*)$"' - type: json_parser if: 'body matches "^\\s*\\{"' on_error: send