Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7db15a06b5 | |||
| 2f0f64871f | |||
| 3cf63e3966 |
+8
-1
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user