diff options
author | binary <me@rgoncalves.se> | 2020-11-04 20:26:56 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-04 20:26:56 +0100 |
commit | 70c0b7508f66c38d49c080604c3735f459d2003e (patch) | |
tree | 8e9947239b8766b251bbc29b3149c8af8559a642 /apply_roles | |
parent | 3c510df7e12c65108cd393325a2f1351b5db5b16 (diff) | |
download | infrastructure-70c0b7508f66c38d49c080604c3735f459d2003e.tar.gz |
Add deploy wrapper for ansible
Diffstat (limited to 'apply_roles')
-rwxr-xr-x | apply_roles | 17 |
1 files changed, 0 insertions, 17 deletions
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 - - - |