Quellcode durchsuchen

Rename algo related ansible tag

pull/16/head
Kristijan Mitrovic vor 4 Jahren
Ursprung
Commit
b4f1c4009f
5 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. +1
    -1
      automation/roles/algo/tasks/main.yml
  2. +1
    -1
      automation/roles/bubble/files/bubble_restore_monitor.sh
  3. +1
    -1
      automation/roles/mitmproxy/tasks/main.yml
  4. +1
    -1
      automation/roles/mitmproxy/tasks/route.yml
  5. +1
    -1
      bubble-server/src/main/resources/ansible/install_local.sh.hbs

+ 1
- 1
automation/roles/algo/tasks/main.yml Datei anzeigen

@@ -58,5 +58,5 @@

- include: algo_firewall.yml
# Don't setup algo when in restore mode, bubble_restore_monitor.sh will set it up after the CA key has been restored
tags: post_restore
tags: algo_related


+ 1
- 1
automation/roles/bubble/files/bubble_restore_monitor.sh Datei anzeigen

@@ -126,7 +126,7 @@ else
cd "${ANSIBLE_DIR}" && \
. ./venv/bin/activate && \
bash -c \
"ansible-playbook ${SSH_OPTIONS} --tags 'post_restore,always' --inventory ./hosts ./playbook.yml 2>&1 >> ${LOG}" \
"ansible-playbook ${SSH_OPTIONS} --tags 'algo_related,always' --inventory ./hosts ./playbook.yml 2>&1 >> ${LOG}" \
|| die "Error running ansible in post-restore. journalctl -xe = $(journalctl -xe | tail -n 50)"
fi



+ 1
- 1
automation/roles/mitmproxy/tasks/main.yml Datei anzeigen

@@ -91,7 +91,7 @@
service:
name: dnscrypt-proxy
state: restarted
tags: post_restore
tags: algo_related

- name: restart supervisord
service:


+ 1
- 1
automation/roles/mitmproxy/tasks/route.yml Datei anzeigen

@@ -58,4 +58,4 @@
- name: save iptables v6 rules
shell: ip6tables-save > /etc/iptables/rules.v6
become: yes
tags: post_restore
tags: algo_related

+ 1
- 1
bubble-server/src/main/resources/ansible/install_local.sh.hbs Datei anzeigen

@@ -51,7 +51,7 @@ SSH_OPTIONS="--ssh-extra-args '-o UserKnownHostsFile=/dev/null -o StrictHostKeyC

SKIP_TAGS=""
if [[ -n "{{restoreKey}}" ]] ; then
SKIP_TAGS="--skip-tags post_restore"
SKIP_TAGS="--skip-tags algo_related"
fi

cd "${ANSIBLE_DIR}" && \


Laden…
Abbrechen
Speichern