Ansible
problem with 'ansible all -m service -a "name=apache2 state=restarted" '
Archives
Ansible Project
ansible-project
Michael_DeHaan2
(Michael DeHaan)
June 4, 2013, 8:28pm
1
Sounds like you need to either login as root or use the sudo options.
Related topics
Topic
Replies
Views
Activity
service state=restarted: Documentation wrong? Or behaviour wrong?
Ansible Project
2
6
September 29, 2012
reloading a service
Ansible Project
2
10
May 11, 2012
Ansible Service Module and sudo
Ansible Project
1
6
January 26, 2018
Start Service Not Working
Ansible Project
4
22
March 27, 2014
You need to be root to perform this command.
Ansible Project
3
1
August 5, 2016