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
Ansible Service Module and sudo
Ansible Project
1
6
January 26, 2018
service state=restarted: Documentation wrong? Or behaviour wrong?
Ansible Project
2
4
September 29, 2012
ansible service not work but command work
Ansible Project
9
16
February 11, 2019
reloading a service
Ansible Project
2
9
May 11, 2012
You need to be root to perform this command.
Ansible Project
3
0
August 5, 2016