Yes, I have hosts (servers) added to my host file as a group (is that the
inventory file)?
Foe example:
[onprem]
server01
server02
On Friday, March 4, 2022 at 11:02:43 PM UTC-6 Dan Linder wrote:
> Do you have an inventory file setup that has "server01" and "server02"
> setup in group(s)? For
Do you have an inventory file setup that has "server01" and "server02"
setup in group(s)? For instance, instead of running the two examples
above, setup an inventory file with both servers listed:
# inventory.ini
server01
server02
Then run your playbook like this:
ansible-playbook playbooks/ne