Hey, you have a syntax error as mentioned in the error log. There should be a space between '-' and command and between '-' and hosts.
Replace it with the following:
- hosts: all
- command: hostname
Check your python version. It should be ...READ MORE
Hey @Rajni, you can register the variable ...READ MORE
Ansible provides a way to specify this ...READ MORE
This can work out for you:
- name: ...READ MORE
ERROR! Extraneous options or arguments READ MORE
Hey Ayaan, you could probably use this ...READ MORE
Of course this is possible @Kiara, you ...READ MORE
Hey @Harsh, use with_items to access the result ...READ MORE
Hey @Nishant, you can use the copy ...READ MORE
- hosts: web
Already have an account? Sign in.