diff --git a/ansible/build_config_images_odum.sh b/ansible/build_config_images_odum.sh new file mode 100755 index 000000000..4d9cdb177 --- /dev/null +++ b/ansible/build_config_images_odum.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +docker build -t docker.irss.unc.edu/config_happygoat -f DockerfileConfigs . +docker push docker.irss.unc.edu/config_happygoat diff --git a/ansible/generate_configs_odum.sh b/ansible/generate_configs_odum.sh new file mode 100755 index 000000000..b1e3c738e --- /dev/null +++ b/ansible/generate_configs_odum.sh @@ -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