- name: Add Patroni repository dnf: name: "{{ patroni_repo_package }}" state: present disable_gpg_check: yes - name: "Install Patroni {{ patroni_version }} with Python 3.6" dnf: name: "{{ item }}" state: present disable_gpg_check: yes update_cache: yes loop: - "{{ patroni_default_packages }}" register: patroni_setup