Skip to content

Commit

Permalink
Issue Sunbird-Lern#24 chore:Sunbird auth package build
Browse files Browse the repository at this point in the history
  • Loading branch information
ahghatol committed Dec 25, 2017
1 parent 622938e commit 8a7447d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion keycloak/scripts/ansible/keycloak.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- hosts: localhost
- hosts: all
become: true
vars_files:
- ['{{inventory_dir}}/secrets.yml']
Expand Down
2 changes: 1 addition & 1 deletion keycloak/scripts/pipelines/keycloak-build/Jenkinsfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ node('build-slave') {

stage('Build'){
sh('ls')
sh('cd sunbird-auth/keycloak/scripts/ansible && ansible-playbook -i inventories/dev keycloak.yml --tags build --vault-password-file /home/ops/vault -vvv')
sh('cd sunbird-auth/keycloak/scripts/ansible && ansible-playbook -i inventories/dev keycloak.yml --limit localhost --tags build --vault-password-file /home/ops/vault -vvv')
}

stage('Archive'){
Expand Down
3 changes: 1 addition & 2 deletions keycloak/scripts/pipelines/keycloak-deploy/Jenkinsfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ node('general-dev') {
target: 'sunbird-auth/keycloak/scripts/ansible' ]
);

sh('ls')
sh('cd sunbird-auth/keycloak/scripts/ansible && ansible-playbook -i inventories/dev keycloak.yml --tags deploy --vault-password-file /run/secrets/vault-pass -vvv')
sh('cd sunbird-auth/keycloak/scripts/ansible && ansible-playbook -i inventories/dev keycloak.yml --limit keycloak --tags deploy --vault-password-file /run/secrets/vault-pass -vvv')
}

stage('Archive'){
Expand Down

0 comments on commit 8a7447d

Please sign in to comment.