Skip to content

Commit

Permalink
add support template to /opt/auth/
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Yakovlev committed Jul 20, 2017
1 parent a9b7c3f commit 0c5daef
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -9,4 +9,5 @@ __pycache__/
*.pyc
.coverage
**/.coverage
.deploy
.deploy
add-support-user.sh
7 changes: 5 additions & 2 deletions README.md
Expand Up @@ -206,16 +206,19 @@ export ISOLATE_REDIS_DB;
#### Zabbix

```
ISOLATE_ZABBIX_URL="http://zabbix.95.213.200.160.xip.name"
ISOLATE_ZABBIX_URL="http://zabbix.srv"
ISOLATE_ZABBIX_USER="isolate"
ISOLATE_ZABBIX_PASS="aZ1eil2ooz4Iefah"
ISOLATE_ZABBIX_PASS="zabbixpass"
export ISOLATE_ZABBIX_URL;
export ISOLATE_ZABBIX_USER;
export ISOLATE_ZABBIX_PASS;
```


#### add server

Login as new user before.

```
$ auth-add-host --project starwars --server-name sel-msk-prod --ip 1.1.1.1
Database updated
Expand Down
2 changes: 1 addition & 1 deletion ansible/main.yml
Expand Up @@ -19,6 +19,6 @@

- role: auth
git_repo: https://github.com/itsumma/isolate.git
git_branch: master
git_branch: develop
deploy_path: /opt/auth
tags: auth
4 changes: 4 additions & 0 deletions ansible/roles/auth/tasks/main.yml
Expand Up @@ -19,3 +19,7 @@

- include: auth-deploy.yml
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.