Hi Guys,
I am trying to copy files from the controller node to the managed node. But it is showing me the below error.
fatal: [192.168.0.180]: FAILED! => {"changed": false, "msg": "src and content are mutually exclusive"}
I am using the below block of code.
- hosts: all
  tasks:
  - package:
      name: httpd
      state: present
  - copy:
      content: "#This playbook is used to replace the content of a file"
      src: home.html
      dest: /var/www/html/home.html
  - service:
      name: httpd
      state: started
  - service:
      name: firewalld
      state: stopped