have a 'pre play' that just has 3 tasks, 1st one tries to login as root, that play on failure sets_fact ansible_ssh_user per host to either root (on success) or newadmin (on failure).
-- Brian Coca Stultorum infinitus est numerus 0110000101110010011001010110111000100111011101000010000001111001011011110111010100100000011100110110110101100001011100100111010000100001 Pedo mellon a minno -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CADn%2BHsxLgc1P9UMvO0KAbYP%2BX%3DmMTzrMAJ2mPLiZRvDgCcXw8w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
