Hi, can anyone help me, how to execute ansible playbook on multiple users in the same host.
fine the below my inventory file and playbook: Note: it will execute only app2 if i execute the below playbook but i want to execute the playbook on all users *Playbook:* --- - hosts: Environment roles: - app - jboss - tafj - h2 *Inventory File: hosts:* [Environment:children] app1 app2 app3 [app1] 10.0.0.1 ansible_user=user1 ansible_connection=ssh [app2] 10.0.0.1 ansible_user=user2 ansible_connection=ssh [app3] 10.0.0.1 ansible_user=user3 ansible_connection=ssh -- 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/9d94bf2e-4d39-422a-8520-c68a37e56a5an%40googlegroups.com.