Comments (3)
Hi,
sudo
is enabled for this task
elk_common_packages sudo: yes
and yet you are getting permissions related error:
stderr: /etc/openntpd/ntpd.conf: Permission denied
The error is not related to this playbook. Try to purge openntpd
package.
from ansible-elk.
Also didnt work for me
TASK: [bakhti.elk | Install common apt packages] ******************************
<127.0.0.1> REMOTE_MODULE apt pkg=openntpd,python-apt,python-pycurl,python-pip,supervisor,monit,git-core state=latest
failed: [default] => (item=openntpd,python-apt,python-pycurl,python-pip,supervisor,monit,git-core) => {"failed": true, "item": "openntpd,python-apt,python-pycurl,python-pip,supervisor,monit,git-core"}
stderr: E: Sub-process /usr/bin/dpkg returned an error code (1)
stdout: Reading package lists...
Building dependency tree...
Reading state information...
openntpd is already the newest version.
The following package was automatically installed and is no longer required:
libopts25
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 66 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openntpd (3.9p1+debian-9) ...
Starting openntpd: /etc/openntpd/ntpd.conf: Permission denied
invoke-rc.d: initscript openntpd, action "start" failed.
dpkg: error processing openntpd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openntpd
msg: '/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" install 'openntpd'' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)
FATAL: all hosts have already failed -- aborting
default : ok=2 changed=0 unreachable=0 failed=1
from ansible-elk.
th problem is that the openntpd package in being installed. When you already have the nap package, it conflicts.
You need to remove the ntp package before and make sure its config files are purged
from ansible-elk.
Related Issues (13)
- /var/www/kibana/src/config.js does not exist HOT 4
- Documentation HOT 3
- ES changed repos.... again HOT 1
- jq isn't present on Debian HOT 1
- logstash 1.5
- Upgrading to 2.1.0? HOT 3
- Support for ansible 2.0 HOT 1
- Monit always restarts elastic 5.4 & logstash 5.4.0 HOT 1
- Support for Kibana 4
- Nginx repos fail for utopic HOT 4
- Restart logstash and elasticsearch with monit instead of init service
- Logstash embedded Elasticsearch version HOT 2
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 ansible-elk.