Well I actually found the problem. I had to set run_once:yes in the following part:
- name: set fact random2 set_fact: randomserver: "{{ newlist | random}}" run_once: yes Now I get the correct Servers Anyway, Thank you for your help Mr. Botka. -- 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-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/259a8343-cbdb-46c8-ada4-a94ded345d5dn%40googlegroups.com.