Skip to content

Commit

Permalink
Merge pull request #337 from ooni/drop-collector-a
Browse files Browse the repository at this point in the history
Drop a.collector from the active collectors
  • Loading branch information
hellais committed Aug 12, 2019
2 parents b770a51 + bf7dbc8 commit e0d62cf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ansible/inventory
Expand Up @@ -161,6 +161,10 @@ hkgcollectora.ooni.nu
miacollector.ooni.nu
c.collector.ooni.io

[active_collector]
miacollector.ooni.nu
c.collector.ooni.io

[no_passwd] # hosts in inventory that should NOT have `passwd` applied because of various reasons
irc-bouncer.service.ooni.io # existing `passwd` that is hard to renumber
deb.ooni.nu # no root for darkk
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/airflow/templates/have_collector.json
@@ -1 +1 @@
{{ groups.have_collector | to_nice_json }}
{{ groups.active_collector | to_nice_json }}
2 changes: 1 addition & 1 deletion ansible/roles/airflow/templates/known_collectors
@@ -1,3 +1,3 @@
{% for host in groups.have_collector %}
{% for host in groups.active_collector %}
{{ lookup('pipe', 'grep -F -e {}, {}/../ext/known_hosts'.format(host, inventory_dir)) }}
{% endfor %}

0 comments on commit e0d62cf

Please sign in to comment.