--- - hosts: webservers roles: - role: postgresql postgres_password: "{{ postgresql_users.postgres }}" users: "{{ postgresql_users }}"