Hi ,
As i have created two simple playbook to remove file from window system and create the file on window system.
But getting error while i execute the both playbook. (Ansible controller version is 2.9)
- remove_file.yml
Hi ,
As i have created two simple playbook to remove file from window system and create the file on window system.
But getting error while i execute the both playbook. (Ansible controller version is 2.9)
Please installed pywin module in Ansible server.
Your yml files that you have referenced are not properly formatted plays.
Read over this documentation: https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html#playbook-language-example
Ultimately, your first file is just a file with a task in it, and your 2nd is missing the tasks:
header.