https://github.com/idealista/ansible-sinopia
Ansible Sinopia Npm Server for Ubuntu/Debian
https://github.com/idealista/ansible-sinopia
ansible debian sinopia ubuntu
Last synced: about 1 month ago
JSON representation
Ansible Sinopia Npm Server for Ubuntu/Debian
- Host: GitHub
- URL: https://github.com/idealista/ansible-sinopia
- Owner: idealista
- Created: 2016-02-02T12:11:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-02T12:18:49.000Z (over 9 years ago)
- Last Synced: 2025-03-30T11:24:43.602Z (2 months ago)
- Topics: ansible, debian, sinopia, ubuntu
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 6
- Watchers: 27
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ansible SINOPIA NPM SERVER Ubuntu/Debian
========================================
This playbook installs a NPM repository using sinopia (https://github.com/rlidwka/sinopia).
Versions of the applications used could be modified but they're not tested!
Tested versions are:
. debian: 7.8
. node: 0.10.33
. nginx: 1.8.0
. sinopia: 1.4.0## Prerequisites
### Install Ansible (tested with 1.9.4 and in Ubuntu)
```sh
$ sudo apt-get update && sudo apt-get install python-software-properties
$ sudo apt-add-repository -y ppa:ansible/ansible
$ sudo apt-get update
$ sudo apt-get install ansible
```
In other OS use the guide from http://docs.ansible.com/ansible/intro_installation.html### Get Ansible Configuration
```sh
$ git clone THIS_PROJECT
```### Use your own host info
```sh
$ vi hosts
```## Launch ansible script
```sh
$ ansible-playbook -i hosts main.yaml
```## Appendix
### Install sshpass (for --askpass option in ansible)
```sh
$ sudo apt-get install sshpass
```