x
This commit is contained in:
@@ -57,7 +57,7 @@ exec >>"${LOG_FILE}" 2>&1
|
|||||||
|
|
||||||
# - Log that we've gotten this far
|
# - Log that we've gotten this far
|
||||||
echo
|
echo
|
||||||
echo "${SCRIPT_NAME}: $(date "+%Y-%m-%d %H:%M:%S") --------------------"
|
echo "${SCRIPT_NAME}: $(date "+%Y-%m-%d %H:%M:%S") ----------------------------------------"
|
||||||
|
|
||||||
# - Do our work
|
# - Do our work
|
||||||
ansible-pull ${OIC_FLAG} --url "${GIT_REPO}" --checkout "${GIT_REPO_BRANCH}" "${@}"
|
ansible-pull ${OIC_FLAG} --url "${GIT_REPO}" --checkout "${GIT_REPO_BRANCH}" "${@}"
|
||||||
+16
-14
@@ -1,14 +1,18 @@
|
|||||||
|
|
||||||
|
******** CHANGE PASSWORDS ********
|
||||||
|
* Bitwarden MASTER
|
||||||
|
* Google - heathpetersen@hpetersenfamily.com
|
||||||
|
* Google - heathpetersen@kandre.com
|
||||||
|
* heath account on iris, admin-a, core
|
||||||
|
* first account ssh key
|
||||||
|
* heath account ssh key
|
||||||
|
* root account (UNIQUE) on iris, admin-a, core
|
||||||
|
* set ! as encrypted shadow password on hpf-ans on iris, admin-a, core
|
||||||
|
|
||||||
# Change to work with multiple distros (nothing hardcoded)
|
# Change to work with multiple distros (nothing hardcoded)
|
||||||
|
|
||||||
* create production, development branches
|
* create production, development branches
|
||||||
|
* cron job for ansible-pull
|
||||||
logrotate /var/log/ansible-pull.log
|
|
||||||
cron job for ansible-pull
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# add /home/hpf-ans/bin/ansible-pull.sh crontab
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -18,10 +22,6 @@ cron job for ansible-pull
|
|||||||
127.0.0.1 name.f.q.d.n name-ipv4.f.q.d.n name name-ipv4
|
127.0.0.1 name.f.q.d.n name-ipv4.f.q.d.n name name-ipv4
|
||||||
::1 name.f.q.d.n name-ipv6.f.q.d.n name name-ipv6
|
::1 name.f.q.d.n name-ipv6.f.q.d.n name name-ipv6
|
||||||
!!TheEnd!!
|
!!TheEnd!!
|
||||||
* Configure chrony
|
|
||||||
# cat >/etc/chrony/sources.d/hpetersenfamily-north-america.sources <<!!TheEnd!!
|
|
||||||
pool 0.north-america.pool.ntp.org iburst
|
|
||||||
!!TheEnd!!
|
|
||||||
|
|
||||||
|
|
||||||
##########
|
##########
|
||||||
@@ -51,9 +51,13 @@ cron job for ansible-pull
|
|||||||
# name: ## Fully qualified domain name ##
|
# name: ## Fully qualified domain name ##
|
||||||
# use: systemd
|
# use: systemd
|
||||||
|
|
||||||
|
* Configure chrony
|
||||||
|
# cat >/etc/chrony/sources.d/hpetersenfamily-north-america.sources <<!!TheEnd!!
|
||||||
|
pool 0.north-america.pool.ntp.org iburst
|
||||||
|
!!TheEnd!!
|
||||||
|
|
||||||
|
|
||||||
~h~heath/.gitconfig
|
~heath/.gitconfig
|
||||||
|
|
||||||
fail2ban
|
fail2ban
|
||||||
uptime kuma
|
uptime kuma
|
||||||
@@ -62,7 +66,5 @@ uptime kuma
|
|||||||
==============================================================
|
==============================================================
|
||||||
==============================================================
|
==============================================================
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
use tags to do things like allow selecting software updates, software cleanup, etc.
|
use tags to do things like allow selecting software updates, software cleanup, etc.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user