feature: added a set of default path environment variables to be used as part of execution environment
This commit is contained in:
6
init_env
Executable file
6
init_env
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SKATO_ANSIBLE_ROOT=$(dirname "$0")
|
||||||
|
set -o allexport
|
||||||
|
source "${SKATO_ANSIBLE_ROOT}/standard_paths"
|
||||||
|
set +o allexport
|
||||||
28
standard_paths
Normal file
28
standard_paths
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# SKATO_ANSIBLE_ROOT=
|
||||||
|
|
||||||
|
# Relative directory paths for role templates/files
|
||||||
|
SKANSIBLE_ARIA="aria2"
|
||||||
|
SKANSIBLE_PROFTPD="proftpd"
|
||||||
|
SKANSIBLE_PROFTPD_CONFS="${SKANSIBLE_PROFTPD}/conf.d"
|
||||||
|
# @NOTE below 4 filepaths have filenames that must correspond to
|
||||||
|
# the filenames in role ProFTPd templates'/files' Display settings
|
||||||
|
SKANSIBLE_PROFTPD_CONFS_WELCOME="${SKANSIBLE_PROFTPD}/conf.d/WELCOME.txt"
|
||||||
|
SKANSIBLE_PROFTPD_CONFS_BANNER="${SKANSIBLE_PROFTPD}/conf.d/BANNER.txt"
|
||||||
|
SKANSIBLE_PROFTPD_CONFS_SUCCESS="${SKANSIBLE_PROFTPD}/conf.d/SUCCESS.txt"
|
||||||
|
SKANSIBLE_PROFTPD_CONFS_EXIT="${SKANSIBLE_PROFTPD}/conf.d/BYE.txt"
|
||||||
|
SKANSIBLE_SSHD_CONFS="sshd_config.d"
|
||||||
|
SKANSIBLE_SYSTEMD="systemd"
|
||||||
|
SKANSIBLE_SYSTEMD_USER_UNITS="${SKANSIBLE_SYSTEMD}/user"
|
||||||
|
SKANSIBLE_FAIL2BAN="fail2ban"
|
||||||
|
SKANSIBLE_FAIL2BAN_JAILS="${SKANSIBLE_FAIL2BAN}/jail.d"
|
||||||
|
SKANSIBLE_FAIL2BAN_FILTERS="${SKANSIBLE_FAIL2BAN}/filter.d"
|
||||||
|
SKANSIBLE_GITCONFIG_CONFS="gitconfig.d"
|
||||||
|
# @NOTE files in here must have extension "key" with IDs in
|
||||||
|
# "gpg_keys" inventory variable list as basenames.
|
||||||
|
SKANSIBLE_GPG="gnupg"
|
||||||
|
# @NOTE files in path below must have extensions "key" (private),
|
||||||
|
# "crt" (signed), or "pem" (public) with inventory host FQDN as basename
|
||||||
|
SKANSIBLE_SSL="ca-certificates"
|
||||||
|
|
||||||
|
# Other directories
|
||||||
|
SKANSIBLE_SECRETS="${SKATO_ANSIBLE_ROOT}/.secrets"
|
||||||
Reference in New Issue
Block a user