- name: "install PostgreSQL-14 & barman @rhel via postgresql.org repos"as none of the 2 package can be installed it seems my enablerepo is not working though:
hosts: barman-220320
tasks:
- name: "install postgresql-14 & barman"
dnf:
name: "{{ item }}"
enablerepo: https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
state: latest
loop:
- postgresql14-server
- barman
become: true
failed: [barman-220320] (item=postgresql14-server) => changed=falseI adapted it from https://www.postgresql.org/download/linux/redhat/
ansible_loop_var: item
failures:
- No package postgresql14-server available.
item: postgresql14-server
msg: Failed to install some of the specified packages
rc: 1
results: []
failed: [barman-220320] (item=barman) => changed=false
ansible_loop_var: item
failures:
- No package barman available.
item: barman
msg: Failed to install some of the specified packages
rc: 1
results: []
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4547acee-34ee-6697-87f3-11a6e24b4bee%40mailbox.org.