moved bootstrap files into files directory

This commit is contained in:
2026-07-11 10:43:22 -05:00
parent 0502c4f766
commit fe974643ae
3 changed files with 2 additions and 2 deletions
+2
View File
@@ -0,0 +1,2 @@
%hpf-sudo ALL=(ALL) ALL
%hpf-sudo-np ALL=(ALL) NOPASSWD: ALL
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
source ~/.ansible-venv/bin/activate
GIT_REPO_BASE="https://gitea.admin-a.hpetersenfamily.com/heath/ansible"
GIT_REPO="${GIT_REPO_BASE}.git"
ANSIBLE_PULL_LOG="/var/log/ansible-pull.log"
echo | sudo tee -a "${ANSIBLE_PULL_LOG}"
echo -n "$(basename "${0}"): " | sudo tee -a "${ANSIBLE_PULL_LOG}"
date "+%Y-%m-%d %H:%M:%S" | sudo tee -a "${ANSIBLE_PULL_LOG}"
ansible-pull --only-if-changed -U "${GIT_REPO}" 2>&1 | sudo tee -a "${ANSIBLE_PULL_LOG}"