-
-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database And User Adding Problem #140
Comments
since I moved these files to pre_tasks:include_vars to support Rocky Linux and AlmaLinux in Ansible prior to version 2.11 in the meantime (workaround), change the code in the deploy_pgcluster.yml file as follows - hosts: postgres_cluster
become: true
become_method: sudo
gather_facts: true
any_errors_fatal: true
vars_files:
- vars/main.yml
- vars/system.yml
- vars/Debian.yml
pre_tasks:
# - name: Include OS-specific variables
# include_vars: "vars/{{ ansible_os_family }}.yml"
# when: not ansible_os_family == 'Rocky' and not ansible_os_family == 'AlmaLinux'
# For compatibility with Ansible old versions
# (support for RockyLinux and AlmaLinux has been added to Ansible 2.11)
# - name: Include OS-specific variables
# include_vars: "vars/RedHat.yml"
# when: ansible_os_family == 'Rocky' or ansible_os_family == 'AlmaLinux' |
and also fix the condition Doc: https://docs.ansible.com/ansible/2.9/user_guide/playbooks_tags.html#special-tags issue #140
@koraykutanoglu I fixed it 6acba3c please download the playbook and check again |
problem solved, thanks! |
On the Ansible config files, I specify the database and user that I want to add to my postgresql cluster.
and I also set it up so users can join pgbouncer.
and I want to redistribute the changes with ansible with the following command
but I am getting error as below.
I used the -vvvvv option for more detailed output.
What do you think is the problem?
The text was updated successfully, but these errors were encountered: