From 70c0b7508f66c38d49c080604c3735f459d2003e Mon Sep 17 00:00:00 2001 From: binary Date: Wed, 4 Nov 2020 20:26:56 +0100 Subject: Add deploy wrapper for ansible --- apply_roles | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 apply_roles (limited to 'apply_roles') diff --git a/apply_roles b/apply_roles deleted file mode 100755 index 8b0aa51..0000000 --- a/apply_roles +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# -# Apply specific ansible tags/roles to selected machine - -# @usage -# Help fonction -function usage() { - echo "Usage: ${0} \"role1 role2 .. roleN\" [ANSIBLE_ARGUMENTS]" -} - -for role in ${1}; do - ansible_args=$(echo "${@:2}") - ansible-playbook ${ansible_args} --tags "${role}" -done - - - -- cgit v1.2.3