aboutsummaryrefslogtreecommitdiffstats
path: root/generate_all
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-02 13:19:51 +0100
committerbinary <me@rgoncalves.se>2020-11-02 13:19:51 +0100
commit1e059c8be273e090ed27a198e1b7b7ca5c0257b3 (patch)
tree3eecd65af9a28b2bfeaf3548c44888b96d181b8a /generate_all
parent9b4de351b435da646ea99ff3c79e78943eedde76 (diff)
downloadinfrastructure-1e059c8be273e090ed27a198e1b7b7ca5c0257b3.tar.gz
Remove bloated functionnalities
Diffstat (limited to 'generate_all')
-rwxr-xr-xgenerate_all22
1 files changed, 0 insertions, 22 deletions
diff --git a/generate_all b/generate_all
deleted file mode 100755
index 3a77394..0000000
--- a/generate_all
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-#
-# Generate specific ansible playbook with all roles inside,
-# ready to be called with "--tags" argument
-
-ROLES_DIR="./roles"
-ROLES=$(ls ${ROLES_DIR})
-PLAYBOOK_OUT="play-all.yml"
-
-echo "" > ${PLAYBOOK_OUT}
-
-for role in ${ROLES[@]}; do
-cat << EOF >> ${PLAYBOOK_OUT}
-- name: Standalone role [-] ${role}
- hosts: all
- tags:
- - ${role}
- roles:
- - ${role}
-
-EOF
-done
remember that computers suck.