From 16e3a9cbe221c6d479b8de2bc343cbf5fc1a90cf1358034723d3fad5b13be833 Mon Sep 17 00:00:00 2001 From: Heath Petersen Date: Wed, 15 Jul 2026 17:14:01 -0500 Subject: [PATCH] shorten file names --- bootstrap.sh | 4 +- ...ns_bin_ansible_pull_sh => ansible_pull_sh} | 0 files/{etc_sudoers_d_hpf => sudoers_d_hpf} | 0 scraps/TODO.txt | 124 ++++++++++++++++++ 4 files changed, 126 insertions(+), 2 deletions(-) rename files/{home_hpf_ans_bin_ansible_pull_sh => ansible_pull_sh} (100%) rename files/{etc_sudoers_d_hpf => sudoers_d_hpf} (100%) create mode 100644 scraps/TODO.txt diff --git a/bootstrap.sh b/bootstrap.sh index a3a98ee..bee2dc7 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -25,8 +25,8 @@ GIT_REPO_BASE="https://gitea.admin-a.hpetersenfamily.com/heath/ansible" GIT_REPO="${GIT_REPO_BASE}.git" GIT_REPO_BRANCH="${1:-"production"}" -GIT_REPO_sudoers_d_hpf="${GIT_REPO_BASE}/raw/branch/${GIT_REPO_BRANCH}/files/etc_sudoers_d_hpf" -GIT_REPO_ansible_pull_sh="${GIT_REPO_BASE}/raw/branch/${GIT_REPO_BRANCH}/files/home_hpf_ans_bin_ansible_pull_sh" +GIT_REPO_sudoers_d_hpf="${GIT_REPO_BASE}/raw/branch/${GIT_REPO_BRANCH}/files/sudoers_d_hpf" +GIT_REPO_ansible_pull_sh="${GIT_REPO_BASE}/raw/branch/${GIT_REPO_BRANCH}/files/ansible_pull_sh" ETC_sudoers_d_hpf="/etc/sudoers.d/hpf" diff --git a/files/home_hpf_ans_bin_ansible_pull_sh b/files/ansible_pull_sh similarity index 100% rename from files/home_hpf_ans_bin_ansible_pull_sh rename to files/ansible_pull_sh diff --git a/files/etc_sudoers_d_hpf b/files/sudoers_d_hpf similarity index 100% rename from files/etc_sudoers_d_hpf rename to files/sudoers_d_hpf diff --git a/scraps/TODO.txt b/scraps/TODO.txt new file mode 100644 index 0000000..3712bee --- /dev/null +++ b/scraps/TODO.txt @@ -0,0 +1,124 @@ + + + +* create bootstrap, production, development branches +* have bootstrap.sh get ansible_pull_branch variable value + +* have the following appended to .profile +if [ -d "$HOME/.profile.d" ] ; then + for profile_script in $HOME/.profile.d/*.sh ; do + . "${profile_script}" + done +fi +* create ~/.profile.d +* create ~/.profile.d/ansible-venv.sh +ansible.builtin.blockinfile + + + +# add /home/hpf-ans/bin/ansible-pull.sh crontab + + + + * Configure hosts + # cat >>/etc/hosts </etc/chrony/sources.d/hpetersenfamily-north-america.sources </etc/ssh/sshd_config.d/hpetersenfamily.conf <>/home/first/.ssh/authorized_keys <