Can't run playbook with root user for remote host – Ubuntu
I am trying to run simple playbook for remote host(webserver1). playbook - name: "This is service play" hosts: webserver1 tasks: - name: "start apache2 service" service: name: apache2 state: started #stopped Getting below error - root@kubemaster:/etc/ansible/playbook/modules/service# ansible-playbook apache2.yml [WARNING]: *…