소스 검색

fix tilde paths

tags/v0.1.8
Jonathan Cobb 4 년 전
부모
커밋
f37199ee4e
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +1
    -1
      automation/roles/bubble/templates/refresh_bubble_ssh_keys.sh.j2
  2. +1
    -1
      automation/roles/bubble/templates/snapshot_ansible.sh.j2
  3. +1
    -1
      bubble-server/src/main/resources/ansible/install_local.sh.hbs

+ 1
- 1
automation/roles/bubble/templates/refresh_bubble_ssh_keys.sh.j2 파일 보기

@@ -38,7 +38,7 @@ done
# Retain self-generated ansible setup key
ANSIBLE_USER="{{admin_user}}"
if [[ ! -z "${ANSIBLE_USER}" ]] ; then
PUB_FILE="$(cd "~{{admin_user}}" && pwd)/.ssh/bubble_rsa.pub"
PUB_FILE="$(cd ~{{admin_user}} && pwd)/.ssh/bubble_rsa.pub"
if [[ -f "${PUB_FILE}" ]] ; then
cat "${PUB_FILE}" >> ${NEW_KEYS}
fi


+ 1
- 1
automation/roles/bubble/templates/snapshot_ansible.sh.j2 파일 보기

@@ -23,7 +23,7 @@ if [[ $(whoami) != "{{ admin_user }}" ]] ; then
die "${0} must be run as {{ admin_user }}"
fi

ANSIBLE_USER_HOME=$(cd "~{{ admin_user }}" && pwd)
ANSIBLE_USER_HOME=$(cd ~{{ admin_user }} && pwd)

ANSIBLE_SNAPSHOT="/home/bubble/ansible.tgz"



+ 1
- 1
bubble-server/src/main/resources/ansible/install_local.sh.hbs 파일 보기

@@ -1,7 +1,7 @@
#!/bin/bash

ANSIBLE_USER="{{node.user}}"
ANSIBLE_HOME="$(cd "~{{node.user}}" && pwd)"
ANSIBLE_HOME="$(cd ~{{node.user}} && pwd)"
LOG="${ANSIBLE_HOME}/.ansible.log"

function log {


불러오는 중...
취소
저장