- Details
- Written by: sam
- Category: 電腦相關
- Hits: 2646
之前試著操作過的Ansible因腦袋放鬆太久
趁現在閒著,把比較常用的初階Ansible操作記錄一下
安裝就先略過了
root@ubuntu:/etc/ansible# 這個目錄下有兩個主要設定檔案 一個是hosts, 一個是ansible.cfg
通常我會修改的是
- Details
- Written by: sam
- Category: 電腦相關
- Hits: 1857
I use Let's Encrypt SSL certificate for my website boredom.gotdns.com
Try to use script to auto renew when days < 30 days
Below is the sample.
- Details
- Written by: sam
- Category: 電腦相關
- Hits: 2432
If you use dyndns dns service and receive the mail like this
FAILED: updating boredom.gotdns.com: badauth: Bad authorization (username or password)
And you check your config is right, no mater what os, like debian or windows.
Use the command to test ddclient config,
root@myla:~# ddclient -daemon=0 -debug -verbose -noquiet
At the last output you will see
Read more: FAILED: updating boredom.gotdns.com: badauth: Bad authorization (username or password)