差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版 前次修改
下次修改
前次修改
tech:alpine_semaphore [2024/01/02 19:55] – [對於 task 無法 UI 找到刪除的問題] jonathantech:alpine_semaphore [2024/04/07 22:10] (目前版本) – [常見問題] 目標主機未安裝 python 議題 jonathan
行 21: 行 21:
     image: semaphoreui/semaphore:latest     image: semaphoreui/semaphore:latest
     environment:     environment:
 +      TZ: Asia/Taipei
       SEMAPHORE_DB_USER: semaphore       SEMAPHORE_DB_USER: semaphore
       SEMAPHORE_DB_PASS: semaphore       SEMAPHORE_DB_PASS: semaphore
行 58: 行 59:
   - 針對 ssh 第一次登入出現失敗問題解法   - 針對 ssh 第一次登入出現失敗問題解法
     * 參考 - https://github.com/ansible-semaphore/semaphore/issues/675     * 參考 - https://github.com/ansible-semaphore/semaphore/issues/675
-    * 可以在 inventory 設定時加上以下的段落 <file>+    * 可以在 Environment 內的 Extra variables 內加入 <file> 
 +{"ansible_ssh_common_args":"'-o StrictHostKeyChecking=no'"
 +</file> 
 +    * 或是在 inventory 設定時加上以下的段落 <file>
 [all:vars] [all:vars]
 ansible_ssh_common_args='-o StrictHostKeyChecking=no' ansible_ssh_common_args='-o StrictHostKeyChecking=no'
行 77: 行 81:
   - 刪除或編輯 template 的 UI    - 刪除或編輯 template 的 UI 
     * 之前沒看到, 突然 UI 出現可以刪除或編輯 template 功能 \\ {{:tech:2024-01-02_195145.png?600|}} \\ {{:tech:2024-01-02_195212.png?600|}}     * 之前沒看到, 突然 UI 出現可以刪除或編輯 template 功能 \\ {{:tech:2024-01-02_195145.png?600|}} \\ {{:tech:2024-01-02_195212.png?600|}}
 +  - 執行時 log 內出現 failed_modules: ansible.legacy.setup: ansible_facts: discovered_interpreter_python: /usr/bin/python, failed: true 
 +    * 表示目標主機內可能未安裝 python, 需要先手動進行安裝 Exp. Alpine 目標主機<cli>apk add python3</cli> 
  
 ===== 參考網址 ===== ===== 參考網址 =====
   * https://www.youtube.com/watch?v=kP8Oda17k7Q   * https://www.youtube.com/watch?v=kP8Oda17k7Q
   * https://docs.semui.co/administration-guide/installation#docker   * https://docs.semui.co/administration-guide/installation#docker
 +  * https://github.com/semaphoreui/semaphore
  
-{{tag>ansible alpine docker}}+{{tag>ansible Semaphore alpine docker}}
  
  • tech/alpine_semaphore.1704196553.txt.gz
  • 上一次變更: 2024/01/02 19:55
  • jonathan