From 2d1f720578f40d78fa12c6458bddea9f19f0edb7 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 28 Mar 2026 14:24:21 -0700 Subject: [PATCH] Move `now` and `today` t shared env. --- tasks/general/acct_mgmt/users.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index 0dbc0e1..4a14f8b 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -827,13 +827,6 @@ alias nethogs='sudo nethogs' alias_ansible_facts: | alias ansible-facts='ansible localhost -m setup --connection=local' - function_now: | - function now { - date "+%Y%m%d-%H%M%S" - } - function today { - date "+%Y%m%d" - } function_backup: | export BACKUP_DIR="/srv/backup" function backup { @@ -1182,7 +1175,6 @@ {{ alias_progs }} {{ alias_nethogs }} {{ alias_ansible_facts }} - {{ function_now }} {{ function_backup }} {{ function_pull_prod_backups }} {{ function_log }}