Giter Club home page Giter Club logo

snipeit-ansible's People

Contributors

clburlison avatar gr360ry avatar patgmac avatar sacres avatar snipe avatar toneill818 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

snipeit-ansible's Issues

No distributions at all found for ldapdict

*********** I receive the following error ****************

TASK: [snipeit-ansible | Install ldapdict python library] *********************
failed: [127.0.0.1] => {"cmd": "/usr/bin/pip install ldapdict", "failed": true}
msg: stdout: Downloading/unpacking ldapdict
Could not find any downloads that satisfy the requirement ldapdict
Cleaning up...
No distributions at all found for ldapdict
Storing debug log for failure in /root/.pip/pip.log

FATAL: all hosts have already failed -- aborting

Unable to connect. check login_user...

Hi!

I´ve installed in a fresh installation ubuntu server, and in the last step appears this error:

TASK: [snipeit-ansible | Create snipeit database] *****************************
failed: [127.0.0.1] => {"failed": true}
msg: unable to connect, check login_user and login_password are correct, or alternatively check ~/.my.cnf contains credentials

FATAL: all hosts have already failed -- aborting

Regards

Missing license information

This repository does not contain a License information.
According to GitHub's Licensing Help:

... without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work.

Currently I am working on a playbook for deploying Snipe-IT for our company and I'd like to reuse part of your work. Because of the missing license information, I want to ask if I am allowed to reuse parts of your code.

SnipeIT - ubuntu 14

Hello
Level: Noob
I have been trying to set up snipe it using gr360ry's script and have not been able to get past this error/failure:
TASK: [snipeit | Create snipeit database] *************************************
failed: [localhost] => {"failed": true}
msg: unable to connect, check login_user and login_password are correct, or alternatively check ~/.my.cnf contains credentials

FATAL: all hosts have already failed -- aborting

  • I have a database setup that I can log into using the same credentials in a snipeit.yml file used in running the script.

I thought all I needed was to run this script and then go to another machine, point it to this snipeit install. Obviously there is something I am not doing right. After running the script a few too many times, I thought I ask for help.
Thx
~kenn

Server Error: 500 (Internal Server Error)

I was able to install the script without any issues, but i am having this error "Server Error: 500 (Internal Server Error)" upon accessing it, and i cant see any logs on apache.

Grab latest stable release (from master branch) instead of the latest (frequently the develop branch)

First off, thanks for putting this together, it really simplified my install. This is just a suggestion.

When I tried to upgrade from 1.2.5 to 1.2.6, I had a weird issue. I was unable to reproduce it, but I have a sneaking suspicion that it may have had something to do with grabbing development versions.

I suggest changing the task in main.yml from:

- name: Clone Snipe-IT repo
git: repo=https://github.com/snipe/snipe-it.git dest={{ snipeit_source }}

to:

- name: Clone Snipe-IT repo
git: repo=https://github.com/snipe/snipe-it.git version=master dest={{ snipeit_source }}

Or perhaps make it a variable so that people can configure which version they want?

Anyway, thanks for all the hard work that went into this. It is appreciated.

import user script error

Alright, finally had a change to play around with your AD user import script. I am running this manually for the time being but I'm running into an error.

Traceback (most recent call last):
  File "./import_ad_users.py", line 67, in <module>
    get_ldap_users()
  File "./import_ad_users.py", line 41, in get_ldap_users
    email = user[ldap_attributes['email']][0]
  File "/usr/local/lib/python2.7/dist-packages/ldapdict/ldapdict.py", line 405, in __getitem__
    raise KeyError(key)
KeyError: 'mail'

I have modified the LDAP settings and credentials to what I believe are the correct values for my environment. Do you have any troubleshooting ideas? Are there some python requirements that I might be missing? (python noob here)

Install Fails

The scripts fails to find the remote repository, then fails on install. I just tried to install on a fresh copy of ubuntu server 14.04. What can I do to make this work?
image

Finishing installation error.

Hi!

I´ve a problem finishing the installation with the script.
there is the problem.

TASK: [snipeit-ansible | Clone Snipe-IT repo] *********************************
failed: [127.0.0.1] => {"failed": true}
msg: Local modifications exist in repository (force=no).

FATAL: all hosts have already failed -- aborting

The machine is a fresh installation Ubuntu x64, 14.01 LTS with LAMP server running in a viertual infrastructure.

Thanks.

Git clone fails on subsequent runs of playbook

Installation failed with the next error:

TASK: [snipeit-ansible | Clone Snipe-IT repo] *********************************
failed: [127.0.0.1] => {"failed": true}
msg: Local modifications exist in repository (force=no).

FATAL: all hosts have already failed -- aborting

Ansible git module behaviour change since version 1.9. force=no became the default option.

Server Error: 500 (Internal Server Error)

Can Snipe-IT be installed as a directory within an existing website.
I do not want to have a new website. We already have an existing website on port 80.

image

As shown in the screenshot I have named the Snipe-IT resource folder as inventory.

Create snipeit database error

I tried both the script and manual installation and still got the same error below, mysql is running and credentials are working as tested.

Error during installation:

TASK: [snipeit-ansible | Create snipeit database] *****************************
failed: [127.0.0.1] => {"failed": true}
msg: unable to connect, check login credentials (login_user, and login_password, which can be defined in ~/.my.cnf), check that mysql socket exists and mysql server is running

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
to retry, use: --limit @/root/snipeit.retry

127.0.0.1 : ok=12 changed=7 unreachable=0 failed=1

stuck on composer for 1hr+

did something change in composer? it is now stuck for over 1hr+ at this step, when running it in the vagrant environment.

curl -sS https://getcomposer.org/installer does not work as expected

In snipeit-ansible/tasks/main.yml
name: Install composer locally
shell: curl -sS https://getcomposer.org/installer | php chdir={{ snipeit_source }} creates={{ snipeit_source }}/composer.phar

The command "curl -sS https://getcomposer.org/installer" does not get the installer but the certificates info instead.

"wget --no-check-certificate https://getcomposer.org/installer" on the other hand works and gets the installer.

Mabe use wget --no-check-certificate as also used in the beginning of manual in https://github.com/GR360RY/snipeit-ansible ?

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.