hotfix: run mcaptcha playbook on all hosts

This commit is contained in:
Aravinth Manivannan 2023-12-09 04:11:44 +05:30
parent dcc821782e
commit 69fb946f3f
Signed by: realaravinth
GPG key ID: F8F50389936984FF
2 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@
ansible.builtin.import_playbook: base.yml ansible.builtin.import_playbook: base.yml
- name: Install redis cache - name: Install redis cache
hosts: mcaptcha_hosts hosts: all
pre_tasks: pre_tasks:
- name: Ensure all VMs are reachable - name: Ensure all VMs are reachable
ansible.builtin.ping: ansible.builtin.ping:

View file

@ -6,7 +6,7 @@
ansible.builtin.import_playbook: base.yml ansible.builtin.import_playbook: base.yml
- name: Install and configure postgres - name: Install and configure postgres
hosts: mcaptcha_hosts hosts: all
become: yes become: yes
vars_files: vars_files:
- vars/mcaptcha/vars.yml - vars/mcaptcha/vars.yml
@ -18,7 +18,7 @@
database_type == "postgres" database_type == "postgres"
- name: Install and configure mariadb - name: Install and configure mariadb
hosts: mcaptcha_hosts hosts: all
become: yes become: yes
vars_files: vars_files:
- vars/mcaptcha/vars.yml - vars/mcaptcha/vars.yml
@ -30,7 +30,7 @@
database_type == "mariadb" database_type == "mariadb"
- name: Install and configure cache - name: Install and configure cache
hosts: mcaptcha_hosts hosts: all
become: yes become: yes
vars_files: vars_files:
- vars/mcaptcha/vars.yml - vars/mcaptcha/vars.yml
@ -41,7 +41,7 @@
when: cache_type == "redis" when: cache_type == "redis"
- name: Install mCaptcha binary - name: Install mCaptcha binary
hosts: mcaptcha_hosts hosts: all
vars_files: vars_files:
- vars/mcaptcha/vars.yml - vars/mcaptcha/vars.yml
roles: roles: