From 69fb946f3f31710d0717dfefd5b13aa0bd9b34d9 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Sat, 9 Dec 2023 04:11:44 +0530 Subject: [PATCH] hotfix: run mcaptcha playbook on all hosts --- ansible/cache.yml | 2 +- ansible/mcaptcha.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ansible/cache.yml b/ansible/cache.yml index b5fff3d..6dfa3ab 100644 --- a/ansible/cache.yml +++ b/ansible/cache.yml @@ -6,7 +6,7 @@ ansible.builtin.import_playbook: base.yml - name: Install redis cache - hosts: mcaptcha_hosts + hosts: all pre_tasks: - name: Ensure all VMs are reachable ansible.builtin.ping: diff --git a/ansible/mcaptcha.yml b/ansible/mcaptcha.yml index 45927d8..f18a502 100644 --- a/ansible/mcaptcha.yml +++ b/ansible/mcaptcha.yml @@ -6,7 +6,7 @@ ansible.builtin.import_playbook: base.yml - name: Install and configure postgres - hosts: mcaptcha_hosts + hosts: all become: yes vars_files: - vars/mcaptcha/vars.yml @@ -18,7 +18,7 @@ database_type == "postgres" - name: Install and configure mariadb - hosts: mcaptcha_hosts + hosts: all become: yes vars_files: - vars/mcaptcha/vars.yml @@ -30,7 +30,7 @@ database_type == "mariadb" - name: Install and configure cache - hosts: mcaptcha_hosts + hosts: all become: yes vars_files: - vars/mcaptcha/vars.yml @@ -41,7 +41,7 @@ when: cache_type == "redis" - name: Install mCaptcha binary - hosts: mcaptcha_hosts + hosts: all vars_files: - vars/mcaptcha/vars.yml roles: