aboutsummaryrefslogtreecommitdiffstats
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
parent9b4de351b435da646ea99ff3c79e78943eedde76 (diff)
downloadinfrastructure-1e059c8be273e090ed27a198e1b7b7ca5c0257b3.tar.gz
Remove bloated functionnalities
-rwxr-xr-xgenerate_all22
-rw-r--r--play-all.yml57
-rw-r--r--play-basics.yml19
-rw-r--r--play-update.yml17
4 files changed, 0 insertions, 115 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
diff --git a/play-all.yml b/play-all.yml
deleted file mode 100644
index 9375914..0000000
--- a/play-all.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-- name: Standalone role [-] setup_git
- hosts: all
- tags:
- - setup_git
- roles:
- - setup_git
-
-- name: Standalone role [-] setup_hostname
- hosts: all
- tags:
- - setup_hostname
- roles:
- - setup_hostname
-
-- name: Standalone role [-] setup_security
- hosts: all
- tags:
- - setup_security
- roles:
- - setup_security
-
-- name: Standalone role [-] setup_syncthing
- hosts: all
- tags:
- - setup_syncthing
- roles:
- - setup_syncthing
-
-- name: Standalone role [-] setup_utils
- hosts: all
- tags:
- - setup_utils
- roles:
- - setup_utils
-
-- name: Standalone role [-] setup_wireguard
- hosts: all
- tags:
- - setup_wireguard
- roles:
- - setup_wireguard
-
-- name: Standalone role [-] setup_znc
- hosts: all
- tags:
- - setup_znc
- roles:
- - setup_znc
-
-- name: Standalone role [-] update
- hosts: all
- tags:
- - update
- roles:
- - update
-
diff --git a/play-basics.yml b/play-basics.yml
deleted file mode 100644
index 961bcc5..0000000
--- a/play-basics.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-# =========================================================================== #
-# __ __ _
-# ____ / /___ ___ __ / /_ ____ ______(_)_________
-# / __ \/ / __ `/ / / / / __ \/ __ `/ ___/ / ___/ ___/
-# / /_/ / / /_/ / /_/ / / /_/ / /_/ (__ ) / /__(__ )
-# / .___/_/\__,_/\__, (_) /_.___/\__,_/____/_/\___/____/
-# /_/ /____/
-#
-# =========================================================================== #
-#
----
-- name: Init new instances with basic tools and packages
- strategy: free
- hosts: servers
- roles:
- - update
- - setup_utils
- - setup_hostname
- - setup_security
diff --git a/play-update.yml b/play-update.yml
deleted file mode 100644
index cb855ec..0000000
--- a/play-update.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-# =========================================================================== #
-# __ __ __
-# ____ / /___ ___ __ __ ______ ____/ /___ _/ /____
-# / __ \/ / __ `/ / / / / / / / __ \/ __ / __ `/ __/ _ \
-# / /_/ / / /_/ / /_/ / / /_/ / /_/ / /_/ / /_/ / /_/ __/
-# / .___/_/\__,_/\__, (_) \__,_/ .___/\__,_/\__,_/\__/\___/
-# /_/ /____/ /_/
-#
-# =========================================================================== #
-
----
-- name: Updates all instances with latest packages from their distribution repositories
- strategy: free
- hosts: servers
- roles:
- - update
-
remember that computers suck.