Compare commits

..

3 Commits

Author SHA256 Message Date
heath 7db15a06b5 Add warning comments to bootstrap.sh and bootstrap.yml 2026-07-11 13:19:27 -05:00
heath 2f0f64871f fix source name for ansible-pull.sh 2026-07-11 13:10:15 -05:00
heath 3cf63e3966 fix 2026-07-11 13:05:53 -05:00
3 changed files with 18 additions and 3 deletions
+8 -1
View File
@@ -1,5 +1,12 @@
#!/bin/sh #!/bin/sh
####
#### WARNING: This shell script should do exactly the same things as the bootstrap playbook.
#### The only exception is the script should run ansible-pull.sh when it's done.
####
#### ! Make sure to keep them in sync. !
####
# #
#### VARIABLES #### VARIABLES
@@ -8,7 +15,7 @@
GIT_REPO_BASE="https://gitea.admin-a.hpetersenfamily.com/heath/ansible" GIT_REPO_BASE="https://gitea.admin-a.hpetersenfamily.com/heath/ansible"
GIT_REPO="${GIT_REPO_BASE}.git" GIT_REPO="${GIT_REPO_BASE}.git"
GIT_REPO_sudoers_d_hpf="${GIT_REPO_BASE}/raw/branch/main/files/etc_sudoers_d_hpf" GIT_REPO_sudoers_d_hpf="${GIT_REPO_BASE}/raw/branch/main/files/etc_sudoers_d_hpf"
GIT_REPO_ansible_pull_sh="${GIT_REPO_BASE}/raw/branch/main/files/home_hpf_ans_bin_ansible-pull.sh" GIT_REPO_ansible_pull_sh="${GIT_REPO_BASE}/raw/branch/main/files/home_hpf_ans_bin_ansible_pull_sh"
ETC_sudoers_d_hpf="/etc/sudoers.d/hpf" ETC_sudoers_d_hpf="/etc/sudoers.d/hpf"
+10 -2
View File
@@ -1,5 +1,13 @@
--- ---
####
#### WARNING: This playbook should do exactly the same things as the bootstrap shell script.
#### The only exception is the script should run ansible-pull.sh when it's done.
####
#### ! Make sure to keep them in sync. !
####
# Update software repositories here # Update software repositories here
# Change the following to work with multiple distros # Change the following to work with multiple distros
@@ -74,10 +82,10 @@
ansible.builtin.pip: ansible.builtin.pip:
name: ansible name: ansible
virtualenv: $HOME/.ansible-venv virtualenv: $HOME/.ansible-venv
extra_args: --upgrade extra_args: "--upgrade"
become: no become: no
-name: Make sure bin directory exists - name: Make sure bin directory exists
ansible.builtin.file: ansible.builtin.file:
path: $HOME/bin path: $HOME/bin
state: directory state: directory