feat-test-playbooks #5

Merged
realaravinth merged 19 commits from feat-test-playbooks into master 2023-12-13 00:49:03 +05:30
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 69fb946f3f - Show all commits

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: