hosts: group_a[0]
works, but this does not
hosts: group_a:&group_b[0]
is there any way to achieve the second without having to put run_once
on every task?
hosts: group_a[0]
works, but this does not
hosts: group_a:&group_b[0]
is there any way to achieve the second without having to put run_once
on every task?
Well, there is this
But can it be done via the host pattern?
put run_once at play level