Code Monkey home page Code Monkey logo

ansible-nomad's People

Contributors

kbrebanov avatar kompot avatar msabramo avatar timbroder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ansible-nomad's Issues

Nomad download & unzip fails

I'm currently evaluating nomad and this role looked the best to get the job done fast - thank you for creating it ๐Ÿ‘

I've run into an issue though - our machines never access 'root' user and we have a special user which can do certain things which are permitted via sudo.
Given that:

Is there any reason for using root user here? Feels like always downloading to tmp or ~ of the current user would do the trick.

Happy to send a PR which addresses this issue, but it's always better to check first ;-) - I might be missign something.

Thanks

When run with nomad_server set, script in /etc/init/nomad.conf is blank

I used this playbook:

- hosts: nomad_servers
  vars:
    use_nomad: true
    nomad_server: true
    nomad_server_bootstrap_expect: "{{ play_hosts|length }}"
  roles:
    - role: kbrebanov.nomad
      tags: nomad
      when: use_nomad
      sudo: yes

and the result was:

ENDOR\marca@sjc-cmdb01:~$ cat /etc/init/nomad.conf
description "Service for nomad"
author "Kevin Brebanov"

start on filesystem or runlevel [2345]
stop on shutdown

reload signal SIGHUP

respawn
respawn limit 10 10
kill timeout 10

script
end script

post-stop script
    rm -f /var/run/nomad.pid
end script

Note how the script for launching nomad is blank.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.