add ansible get vaule from loop register
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
"accountablePerson" : "",
|
||||
"copyrightHolder" : "",
|
||||
"copyrightYear" : "2019",
|
||||
"datePublished": "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"url" : "https:\/\/h.cowbay.org\/",
|
||||
"wordCount" : "0",
|
||||
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
|
||||
@@ -46,9 +46,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577170732" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577170732" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -288,6 +288,74 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/bookstack-docker/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-12.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">06 November</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/bookstack-docker/ "> Bookstack Docker </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>Bookstack 是一套非常好用的線上”筆記”系統</p>
|
||||
|
||||
<p>他用圖書館/書本的概念,讓使用者可以建立自己的”圖書館”</p>
|
||||
|
||||
<p>同時在圖書館內建立不同的”書籍”</p>
|
||||
|
||||
<p>而且支援 Markdown 語法</p>
|
||||
|
||||
<p>其他的方式像是在nextcloud上編輯 md檔案(字體太小)</p>
|
||||
|
||||
<p>或者是boostnote(只能在本機)</p>
|
||||
|
||||
<p>都或多或少有點小缺點</p>
|
||||
|
||||
<p>Bookstack則是沒有這些問題,不過就是系統「大」了點…</p>
|
||||
|
||||
<p>不過還好有人做成docker的方式來啟動,大大的降低了建置的難度(其實也沒有很難啦,只是要裝個PHP、弄個DB而已)</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/bookstack-docker/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/enable-synology-public-ssh/"><div class='featured-image lazy lazy-bg-image' data-background="https://i.imgur.com/jcDQmI1.png"></div></a>
|
||||
|
||||
|
||||
@@ -594,7 +662,7 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577170732"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
"accountablePerson" : "",
|
||||
"copyrightHolder" : "",
|
||||
"copyrightYear" : "2019",
|
||||
"datePublished": "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"url" : "https:\/\/h.cowbay.org\/",
|
||||
"wordCount" : "0",
|
||||
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
|
||||
@@ -46,9 +46,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577170732" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577170732" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -288,6 +288,72 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/ubuntu-dconf-proxy-settings/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">31 October</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/ubuntu-dconf-proxy-settings/ "> [筆記] ubuntu 18.04 透過 dconf 修改系統 proxy / modify system proxy with dconf in ubuntu 18.04 </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>最近在準備升級client 的作業系統,從 ubuntu 14.04 準備升級到 18.04 或明年的 20.04</p>
|
||||
|
||||
<p>因為公司政策的關係,所以現在要連接internet ,需要申請</p>
|
||||
|
||||
<p>然後 user 再去系統的proxy 設定新增一個 PAC 檔</p>
|
||||
|
||||
<p>但是這個動作其實是去叫NetworkManager 這個服務</p>
|
||||
|
||||
<p>可是在18.04 上,我會把這個服務關掉,因為他會干擾我的DNS設定</p>
|
||||
|
||||
<p>所以想試試看有沒有辦法不使用 NetworkManager 服務</p>
|
||||
|
||||
<p>又能夠在 user level 修改 proxy 參數</p>
|
||||
|
||||
<p>就想到了用 dconf 來做</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ubuntu-dconf-proxy-settings/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/awesome-all-in-one-vpn-server-streisand/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-18.jpg"></div></a>
|
||||
|
||||
|
||||
@@ -341,8 +407,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -395,8 +461,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -457,8 +523,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -504,62 +570,6 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/postgresql-backup-restore-using-zfs-snapshot/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-5.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">06 September</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/postgresql-backup-restore-using-zfs-snapshot/ "> [筆記] 用zfs的snapshot 快照功能來做 postgresql 的備份還原 / Postgresql Backup Restore Using Zfs Snapshot </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>前面測試了用pgbarman / pgbackrest 來備份 postgresql</p>
|
||||
|
||||
<p>這次改從system file level 來下手</p>
|
||||
|
||||
<p>採用zfs 的快照來備份、還原postgresql 資料庫</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/postgresql-backup-restore-using-zfs-snapshot/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -813,7 +823,7 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577170732"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
"accountablePerson" : "",
|
||||
"copyrightHolder" : "",
|
||||
"copyrightYear" : "2019",
|
||||
"datePublished": "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"url" : "https:\/\/h.cowbay.org\/",
|
||||
"wordCount" : "0",
|
||||
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
|
||||
@@ -46,9 +46,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577170732" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577170732" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -288,6 +288,62 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/postgresql-backup-restore-using-zfs-snapshot/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-5.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">06 September</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/postgresql-backup-restore-using-zfs-snapshot/ "> [筆記] 用zfs的snapshot 快照功能來做 postgresql 的備份還原 / Postgresql Backup Restore Using Zfs Snapshot </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>前面測試了用pgbarman / pgbackrest 來備份 postgresql</p>
|
||||
|
||||
<p>這次改從system file level 來下手</p>
|
||||
|
||||
<p>採用zfs 的快照來備份、還原postgresql 資料庫</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/postgresql-backup-restore-using-zfs-snapshot/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/backup-restore-postgresql-with-pgbackrest/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-15.jpg"></div></a>
|
||||
|
||||
|
||||
@@ -335,8 +391,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -387,8 +443,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -445,8 +501,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -496,70 +552,6 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-8.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">16 August</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/ "> [筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>最近一直在玩 wireguard ,先前把各個分公司和總部的VPN 改用 wireguard 建立</p>
|
||||
|
||||
<p>想說再打個VPN tunnel 來當跳板連 ptt 好了</p>
|
||||
|
||||
<p>因為wireguard 建立很簡單,而且又可以指定想要繞出去的路由,不會影響原本的網路環境</p>
|
||||
|
||||
<p>本來是在vultr 的VPS上面建立這個tunnel</p>
|
||||
|
||||
<p>但是那台VPS連去ptt 很頓,卡卡的</p>
|
||||
|
||||
<p>所以改用google cloud platform 的free tier 來做</p>
|
||||
|
||||
<p>反正只是拿來當跳板,不會有什麼流量、運算產生,可以一直保持免費的狀態</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -815,7 +807,7 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577170732"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
"accountablePerson" : "",
|
||||
"copyrightHolder" : "",
|
||||
"copyrightYear" : "2019",
|
||||
"datePublished": "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"url" : "https:\/\/h.cowbay.org\/",
|
||||
"wordCount" : "0",
|
||||
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
|
||||
@@ -46,9 +46,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577170732" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577170732" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -288,6 +288,70 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-8.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">16 August</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/ "> [筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>最近一直在玩 wireguard ,先前把各個分公司和總部的VPN 改用 wireguard 建立</p>
|
||||
|
||||
<p>想說再打個VPN tunnel 來當跳板連 ptt 好了</p>
|
||||
|
||||
<p>因為wireguard 建立很簡單,而且又可以指定想要繞出去的路由,不會影響原本的網路環境</p>
|
||||
|
||||
<p>本來是在vultr 的VPS上面建立這個tunnel</p>
|
||||
|
||||
<p>但是那台VPS連去ptt 很頓,卡卡的</p>
|
||||
|
||||
<p>所以改用google cloud platform 的free tier 來做</p>
|
||||
|
||||
<p>反正只是拿來當跳板,不會有什麼流量、運算產生,可以一直保持免費的狀態</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/multiple-site-to-site-vpn-using-wireguard/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
|
||||
|
||||
|
||||
@@ -345,8 +409,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -415,8 +479,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -478,8 +542,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -537,64 +601,6 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">23 July</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/ansible">ansible</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/ "> [ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>因為工作上的需要,要修改client端的 /etc/environment 檔案</p>
|
||||
|
||||
<p>在有權限使用proxy 服務的user的環境中,加入proxy 的設定</p>
|
||||
|
||||
<p>原本的清單中,有host/user/ip 這幾個值可以拿來判斷</p>
|
||||
|
||||
<p>proxy server 那邊是採用ip 來控制,所以這邊也跟著用 ip 來判斷要不要修改 /etc/environment</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -852,7 +858,7 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577170732"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
"accountablePerson" : "",
|
||||
"copyrightHolder" : "",
|
||||
"copyrightYear" : "2019",
|
||||
"datePublished": "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"url" : "https:\/\/h.cowbay.org\/",
|
||||
"wordCount" : "0",
|
||||
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
|
||||
@@ -46,9 +46,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577170732" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577170732" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -288,6 +288,64 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">23 July</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/ansible">ansible</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/ "> [ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>因為工作上的需要,要修改client端的 /etc/environment 檔案</p>
|
||||
|
||||
<p>在有權限使用proxy 服務的user的環境中,加入proxy 的設定</p>
|
||||
|
||||
<p>原本的清單中,有host/user/ip 這幾個值可以拿來判斷</p>
|
||||
|
||||
<p>proxy server 那邊是採用ip 來控制,所以這邊也跟著用 ip 來判斷要不要修改 /etc/environment</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-selectattr-from-list-in-dictionary/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
|
||||
|
||||
|
||||
@@ -339,8 +397,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -399,8 +457,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -461,8 +519,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -508,64 +566,6 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">17 May</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/linux">linux</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/ "> Transfer File Content Using Xclip in Terminal </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>工作上常會需要用ssh登入遠端主機檢查LOG,有必要的時候,還要把log複製回本機來處理。</p>
|
||||
|
||||
<p>以前都是傻傻的用 scp 傳檔案</p>
|
||||
|
||||
<p>之前就記得有這個xclip/xsel 可以用,但是一直沒有弄清楚怎麼執行</p>
|
||||
|
||||
<p>早上研究了一下,順便做個筆記。</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -825,7 +825,7 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577170732"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
"accountablePerson" : "",
|
||||
"copyrightHolder" : "",
|
||||
"copyrightYear" : "2019",
|
||||
"datePublished": "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"url" : "https:\/\/h.cowbay.org\/",
|
||||
"wordCount" : "0",
|
||||
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
|
||||
@@ -46,9 +46,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577170732" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577170732" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -288,6 +288,64 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">17 May</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/linux">linux</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/ "> Transfer File Content Using Xclip in Terminal </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>工作上常會需要用ssh登入遠端主機檢查LOG,有必要的時候,還要把log複製回本機來處理。</p>
|
||||
|
||||
<p>以前都是傻傻的用 scp 傳檔案</p>
|
||||
|
||||
<p>之前就記得有這個xclip/xsel 可以用,但是一直沒有弄清楚怎麼執行</p>
|
||||
|
||||
<p>早上研究了一下,順便做個筆記。</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/inx-collect-detail-hardware-info/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
|
||||
|
||||
|
||||
@@ -343,8 +401,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -401,8 +459,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -457,8 +515,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -504,57 +562,6 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/command_to_test_main_ssl/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">20 March</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/command_to_test_main_ssl/ "> [筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>今天老闆出國,發slack說手機不能寄信,看了一下,似乎是因為用GMAIL的APP來收信</p>
|
||||
|
||||
<p>然後google 不知道跟人家改了什麼,結果不接受原本的認證了… WTF ….</p>
|
||||
|
||||
<p>然後,這問題應該很久了,結果現在才在講 ….</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/command_to_test_main_ssl/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -816,7 +823,7 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577170732"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
"accountablePerson" : "",
|
||||
"copyrightHolder" : "",
|
||||
"copyrightYear" : "2019",
|
||||
"datePublished": "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"url" : "https:\/\/h.cowbay.org\/",
|
||||
"wordCount" : "0",
|
||||
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
|
||||
@@ -46,9 +46,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577170732" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577170732" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -288,6 +288,57 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/command_to_test_main_ssl/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">20 March</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/command_to_test_main_ssl/ "> [筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>今天老闆出國,發slack說手機不能寄信,看了一下,似乎是因為用GMAIL的APP來收信</p>
|
||||
|
||||
<p>然後google 不知道跟人家改了什麼,結果不接受原本的認證了… WTF ….</p>
|
||||
|
||||
<p>然後,這問題應該很久了,結果現在才在講 ….</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/command_to_test_main_ssl/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/install-timeshift-on-ubuntu1804/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-12.jpg"></div></a>
|
||||
|
||||
|
||||
@@ -341,8 +392,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -395,8 +446,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -451,8 +502,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -502,66 +553,6 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-1.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">12 December</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ "> [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>最近在做一台老機器的P2V</p>
|
||||
|
||||
<p>偏偏user說不能關機,所以我用dd + ssh 做線上移轉</p>
|
||||
|
||||
<p>這部份有空再來寫</p>
|
||||
|
||||
<p>只是因為原來的設定有用mdadm 做raid1</p>
|
||||
|
||||
<p>這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -823,7 +814,7 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577170732"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
"accountablePerson" : "",
|
||||
"copyrightHolder" : "",
|
||||
"copyrightYear" : "2019",
|
||||
"datePublished": "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"url" : "https:\/\/h.cowbay.org\/",
|
||||
"wordCount" : "0",
|
||||
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
|
||||
@@ -46,9 +46,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577170732" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577170732" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -288,6 +288,66 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-1.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">12 December</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ "> [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>最近在做一台老機器的P2V</p>
|
||||
|
||||
<p>偏偏user說不能關機,所以我用dd + ssh 做線上移轉</p>
|
||||
|
||||
<p>這部份有空再來寫</p>
|
||||
|
||||
<p>只是因為原來的設定有用mdadm 做raid1</p>
|
||||
|
||||
<p>這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/create-portable-vim-environment/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-8.jpg"></div></a>
|
||||
|
||||
|
||||
@@ -341,8 +401,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -407,8 +467,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -475,8 +535,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -524,101 +584,6 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-selectattr/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-1.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">27 November</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/ansible-selectattr/ "> [筆記] Ansible how to use 'list' in yaml file </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>這幾天在玩ansible 時,碰到一個問題</p>
|
||||
|
||||
<p>假如我有個yaml檔作為資料來源,檔名是 abc.yml</p>
|
||||
|
||||
<p>大概長這樣</p>
|
||||
|
||||
<pre><code> "teams": [
|
||||
{
|
||||
"chinese_name": "TEAM1",
|
||||
"description": "TEAM1",
|
||||
"gid": 10125,
|
||||
"location": [
|
||||
"hq"
|
||||
],
|
||||
"name": "aa",
|
||||
"users": [
|
||||
"chen",
|
||||
"chou",
|
||||
"huani",
|
||||
"yey",
|
||||
"wa"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chinese_name": "TEAM2",
|
||||
"description": "TEAM2",
|
||||
"gid": 10126,
|
||||
"location": [
|
||||
"hq"
|
||||
],
|
||||
"name": "bb",
|
||||
"users": [
|
||||
"chhiao",
|
||||
"chgc",
|
||||
"chy",
|
||||
"hsi",
|
||||
"li",
|
||||
"li",
|
||||
"chgchi"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
</code></pre>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-selectattr/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -878,7 +843,7 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577170732"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
"accountablePerson" : "",
|
||||
"copyrightHolder" : "",
|
||||
"copyrightYear" : "2019",
|
||||
"datePublished": "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-24 14:41:37 \x2b0800 CST",
|
||||
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
|
||||
"url" : "https:\/\/h.cowbay.org\/",
|
||||
"wordCount" : "0",
|
||||
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
|
||||
@@ -46,9 +46,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577170732" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577170732" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -288,6 +288,101 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-selectattr/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-1.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">27 November</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/ansible-selectattr/ "> [筆記] Ansible how to use 'list' in yaml file </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>這幾天在玩ansible 時,碰到一個問題</p>
|
||||
|
||||
<p>假如我有個yaml檔作為資料來源,檔名是 abc.yml</p>
|
||||
|
||||
<p>大概長這樣</p>
|
||||
|
||||
<pre><code> "teams": [
|
||||
{
|
||||
"chinese_name": "TEAM1",
|
||||
"description": "TEAM1",
|
||||
"gid": 10125,
|
||||
"location": [
|
||||
"hq"
|
||||
],
|
||||
"name": "aa",
|
||||
"users": [
|
||||
"chen",
|
||||
"chou",
|
||||
"huani",
|
||||
"yey",
|
||||
"wa"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chinese_name": "TEAM2",
|
||||
"description": "TEAM2",
|
||||
"gid": 10126,
|
||||
"location": [
|
||||
"hq"
|
||||
],
|
||||
"name": "bb",
|
||||
"users": [
|
||||
"chhiao",
|
||||
"chgc",
|
||||
"chy",
|
||||
"hsi",
|
||||
"li",
|
||||
"li",
|
||||
"chgchi"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
</code></pre>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-selectattr/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/change-preferred-language-in-firefox/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-9.jpg"></div></a>
|
||||
|
||||
|
||||
@@ -341,8 +436,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -399,8 +494,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -463,8 +558,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -513,74 +608,6 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/bookstack-docker/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-12.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">06 November</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/bookstack-docker/ "> Bookstack Docker </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>Bookstack 是一套非常好用的線上”筆記”系統</p>
|
||||
|
||||
<p>他用圖書館/書本的概念,讓使用者可以建立自己的”圖書館”</p>
|
||||
|
||||
<p>同時在圖書館內建立不同的”書籍”</p>
|
||||
|
||||
<p>而且支援 Markdown 語法</p>
|
||||
|
||||
<p>其他的方式像是在nextcloud上編輯 md檔案(字體太小)</p>
|
||||
|
||||
<p>或者是boostnote(只能在本機)</p>
|
||||
|
||||
<p>都或多或少有點小缺點</p>
|
||||
|
||||
<p>Bookstack則是沒有這些問題,不過就是系統「大」了點…</p>
|
||||
|
||||
<p>不過還好有人做成docker的方式來啟動,大大的降低了建置的難度(其實也沒有很難啦,只是要裝個PHP、弄個DB而已)</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/bookstack-docker/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -838,7 +865,7 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577170732"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user