Compare commits
2 commits
master
...
s3lva-kuma
Author | SHA1 | Date | |
---|---|---|---|
|
fa3a6fd74d | ||
|
351476d1c0 |
4 changed files with 21 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -0,0 +1,3 @@
|
|||
[submodule "ansible/ansible-role-uguu"]
|
||||
path = ansible/ansible-role-uguu
|
||||
url = https://github.com/s3lva-kumar/ansible-role-uguu
|
7
Makefile
7
Makefile
|
@ -7,6 +7,7 @@ NPM="npm"
|
|||
DESTDIR="./dist"
|
||||
PKG_VERSION := $( $(GREP) -Po '(?<="version": ")[^"]*' )
|
||||
TMPDIR := $(shell mktemp -d)
|
||||
HOSTS_FILE = $(HOSTS_FILE)
|
||||
# default modules
|
||||
MODULES="php"
|
||||
|
||||
|
@ -62,6 +63,12 @@ endif
|
|||
install: installdirs
|
||||
cp -rv $(CURDIR)/build/* $(DESTDIR)/
|
||||
|
||||
submodule-update:
|
||||
git submodule update
|
||||
|
||||
deploy:
|
||||
ansible-playbook -i $(HOSTS_FILE) ansible/site.yml
|
||||
|
||||
dist:
|
||||
DESTDIR=$(TMPDIR)/uguu-$(PKGVERSION)
|
||||
export DESTDIR
|
||||
|
|
1
ansible/ansible-role-uguu
Submodule
1
ansible/ansible-role-uguu
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit dcde9ac909f7f4ea249b52351c1c49443eac3ae3
|
10
ansible/site.yml
Normal file
10
ansible/site.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
- name: "install uguu"
|
||||
hosts: all
|
||||
become: yes
|
||||
roles:
|
||||
- ansible-role-uguu
|
||||
|
||||
vars:
|
||||
paypalUrl: ""
|
||||
bitcoinAddress: ""
|
||||
flattrUrl: ""
|
Loading…
Reference in a new issue