Comments (7)
Are you speaking of the latest version provided by Ubuntu or monit at all?
from monit.
I am speaking about latest version provuded by Ubuntu: 5.6
from monit.
If I set sudo: yes
for the whole playbook, everything works fine, but if I specify sudo just for role:
- hosts: appservers
roles:
- role: ANXS.monit
sudo: yes
the error appears.
from monit.
I started a VM based on the provided Vagrantfile
and monit starts without any problem.
Also the file seems to have the correct permissions:
ls -la /etc/monit/
total 28
drwxr-xr-x 5 root root 4096 Apr 16 01:41 .
drwxr-xr-x 94 root root 4096 Apr 16 01:41 ..
drwxr-xr-x 2 root root 4096 Apr 16 01:41 conf.d
-rw------- 1 root root 6402 Apr 16 01:41 monitrc
drwxr-xr-x 2 root root 4096 Apr 16 01:41 monitrc.d
drwxr-xr-x 2 root root 4096 Apr 16 01:41 templates
Did you upgraded from a previous version of monit?
from monit.
You have ansible.sudo = true
set to true which is equivalent to setting sudo: yes
for the whole playbook with which my case works too. The problem appears if there is no sudo: yes
for the whole playbook but it is set for the role only.
from monit.
I'm not sure that sudo
is expected to work that way with roles. I don't believe this is actually a bug with the ANXS.monit
role.
from monit.
Houh I'm not sure if you can set sudo: yes
for a specific role.
I think it should be set on a task or playbook level
from monit.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monit.