Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAILED 2 #4

Open
divined opened this issue Oct 2, 2017 · 5 comments
Open

FAILED 2 #4

divined opened this issue Oct 2, 2017 · 5 comments

Comments

@divined
Copy link

divined commented Oct 2, 2017

fatal: [drupalvm]: FAILED! => {"changed": false, "failed": true, "msg": "Could not find the requested service mongod: host"}

@divined
Copy link
Author

divined commented Oct 2, 2017

- name: Create service
  template:
    src: "{{ item }}.j2"
    dest: "/{{ item }}"
    owner: root
    group: root
    mode: "0644"
  notify: restart mongodb
  with_items:
    - etc/systemd/system/mongod.service

./etc/systemd/system/mongod.service.j2:

[Unit]
Description=High-performance, schema-free document-oriented database
After=network.target

[Service]
User=mongodb
ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf

[Install]
WantedBy=multi-user.target

@franklinkim
Copy link
Member

Hi, same here: could you provide some more information on this... OS, Playbook...

@divined
Copy link
Author

divined commented Oct 19, 2017

Ubuntu 16. I think it is enough )
I not use vagrant anymore. Very slow (

@franklinkim
Copy link
Member

Could you revalidate with 1.4.0

@franklinkim
Copy link
Member

Guess you ran this on a docker container. I think this issue is related to docker and ubuntu's systemd. It works fine on a 14.04 docker container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants