Permalink
Browse files

add support template to /opt/auth/

  • Loading branch information...
iHile committed Jul 20, 2017
1 parent a9b7c3f commit 0c5daefc3ddbd7204662cbb9ab4600fb79b4c7b8
Showing with 12 additions and 4 deletions.
  1. +2 −1 .gitignore
  2. +5 −2 README.md
  3. +1 −1 ansible/main.yml
  4. +4 −0 ansible/roles/auth/tasks/main.yml
@@ -9,4 +9,5 @@ __pycache__/
*.pyc *.pyc
.coverage .coverage
**/.coverage **/.coverage
.deploy .deploy
add-support-user.sh
@@ -206,16 +206,19 @@ export ISOLATE_REDIS_DB;
#### Zabbix #### Zabbix
``` ```
ISOLATE_ZABBIX_URL="http://zabbix.95.213.200.160.xip.name" ISOLATE_ZABBIX_URL="http://zabbix.srv"
ISOLATE_ZABBIX_USER="isolate" ISOLATE_ZABBIX_USER="isolate"
ISOLATE_ZABBIX_PASS="aZ1eil2ooz4Iefah" ISOLATE_ZABBIX_PASS="zabbixpass"
export ISOLATE_ZABBIX_URL; export ISOLATE_ZABBIX_URL;
export ISOLATE_ZABBIX_USER; export ISOLATE_ZABBIX_USER;
export ISOLATE_ZABBIX_PASS; export ISOLATE_ZABBIX_PASS;
``` ```
#### add server #### add server
Login as new user before.
``` ```
$ auth-add-host --project starwars --server-name sel-msk-prod --ip 1.1.1.1 $ auth-add-host --project starwars --server-name sel-msk-prod --ip 1.1.1.1
Database updated Database updated
@@ -19,6 +19,6 @@
- role: auth - role: auth
git_repo: https://github.com/itsumma/isolate.git git_repo: https://github.com/itsumma/isolate.git
git_branch: master git_branch: develop
deploy_path: /opt/auth deploy_path: /opt/auth
tags: auth tags: auth
@@ -19,3 +19,7 @@
- include: auth-deploy.yml - include: auth-deploy.yml
tags: auth-deploy tags: auth-deploy
- name: Copying add-support-user.sh template...
template: src=add-support-user.sh dest=/opt/auth/add-support-user.sh mode=644
tags: auth-deploy

0 comments on commit 0c5daef

Please sign in to comment.