Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Commit

Permalink
#1 silly script to generate service properties using local-services-cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
donsizemore committed Feb 26, 2016
1 parent 6f27e18 commit f1ba864
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ansible/generate_configs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh -e

SERVICES="anon-files apps clockwork condor-log-monitor data-info dewey exim-sender infosquito info-typer iplant-email iplant-groups jexevents jex kifshare metadata monkey notificationagent saved-searches terrain tree-urls user-preferences user-sessions"
ANSIBLE_HOME=/home/hamilton/DE/ansible
INVENTORY=/home/hamilton/inventories/odum-test
GROUPVARS=/home/hamilton/group_vars/odum

for SERVICE in $SERVICES; do
ansible-playbook $ANSIBLE_HOME/local-service-config.yaml -i $INVENTORY -e @$GROUPVARS --extra-vars="service=$SERVICE"
done

0 comments on commit f1ba864

Please sign in to comment.