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: