Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| c421d990aa | |||
| 0d943ef1cd |
+1
-1
@@ -134,4 +134,4 @@ as_hpf_ans "curl -o \"${HPF_ANS_ansible_pull_sh}\" \"${GIT_REPO_ansible_pull_sh}
|
||||
as_hpf_ans "chown hpf-ans:hpf-ans \"${HPF_ANS_ansible_pull_sh}\"; chmod ug=rwx,o= \"${HPF_ANS_ansible_pull_sh}\""
|
||||
|
||||
# Run ansible-pull to finish up
|
||||
as_hpf_ans "bin/ansible-pull.sh"
|
||||
as_hpf_ans "bin/ansible-pull.sh bootstrap.yml"
|
||||
|
||||
@@ -7,8 +7,8 @@ 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}"
|
||||
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 --url "${GIT_REPO}" "${@}" 2>&1 | sudo tee -a "${ANSIBLE_PULL_LOG}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user