add auto fetch ssl certs
This commit is contained in:
@@ -45,9 +45,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=1626744134" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1629951055" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1626744134" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1629951055" 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">
|
||||
|
||||
@@ -82,10 +82,6 @@ if (!doNotTrack) {
|
||||
|
||||
<ul id="menu-secondary-items" class="menu-secondary-items">
|
||||
|
||||
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
|
||||
<a href="/categories/"></a>
|
||||
</li>
|
||||
|
||||
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
|
||||
<a href="/categories/ansible">ansible</a>
|
||||
</li>
|
||||
@@ -335,16 +331,10 @@ if (!doNotTrack) {
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>之前為了能夠在執行完 ansible playbook 後,能有個log 可以看</p>
|
||||
|
||||
<p>所以在每次執行的時候,都要加入 tee 的指令</p>
|
||||
|
||||
<p>像是</p>
|
||||
|
||||
<pre><code>ANSIBLE_CONFIG=/home/D/ansiblecontrol/ansible.cfg /usr/local/bin/ansible-playbook /home/D/ansiblecontrol/playbook.user_client.yml --vault-password-file=/home/D/ansiblecontrol/vault.passwd -i /home/D/ansiblecontrol/inventory/production -f1 --limit tyuserclients |tee /tmp/tyuserclients.log
|
||||
</code></pre>
|
||||
|
||||
<p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
|
||||
|
||||
</code></pre><p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
|
||||
<p>反正也沒有人關心結果怎樣 (攤手</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/another-way-to-keep-ansible-log/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
@@ -401,11 +391,8 @@ if (!doNotTrack) {
|
||||
<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>
|
||||
@@ -462,9 +449,7 @@ if (!doNotTrack) {
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>在ansible中,關於如何引用自定義的變數,一直讓我很頭疼</p>
|
||||
|
||||
<p>尤其是有牽涉到從外部導入yaml檔案時,更是常常讓我不知道到底該怎麼抓出想要的變數</p>
|
||||
|
||||
<p>這次還是用selectattr 來處理,希望下次能夠記得…</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-selectattr-from-list-in-dictionary/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
@@ -596,7 +581,7 @@ if (!doNotTrack) {
|
||||
|
||||
</ul> <div class="design-credit">
|
||||
|
||||
<p>© 2018 Göran Svensson</p>
|
||||
<p>© 2018 Göran Svensson</p>
|
||||
|
||||
<p>Nederburg Hugo Theme by <a href="https://appernetic.io">Appernetic</a>.</p>
|
||||
|
||||
@@ -608,6 +593,6 @@ 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=1626744134"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1629951055"></script>
|
||||
|
||||
</body>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>ansible on MC部落</title>
|
||||
@@ -18,16 +18,10 @@
|
||||
|
||||
<guid>https://h.cowbay.org/post/another-way-to-keep-ansible-log/</guid>
|
||||
<description><p>之前為了能夠在執行完 ansible playbook 後,能有個log 可以看</p>
|
||||
|
||||
<p>所以在每次執行的時候,都要加入 tee 的指令</p>
|
||||
|
||||
<p>像是</p>
|
||||
|
||||
<pre><code>ANSIBLE_CONFIG=/home/D/ansiblecontrol/ansible.cfg /usr/local/bin/ansible-playbook /home/D/ansiblecontrol/playbook.user_client.yml --vault-password-file=/home/D/ansiblecontrol/vault.passwd -i /home/D/ansiblecontrol/inventory/production -f1 --limit tyuserclients |tee /tmp/tyuserclients.log
|
||||
</code></pre>
|
||||
|
||||
<p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
|
||||
|
||||
</code></pre><p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
|
||||
<p>反正也沒有人關心結果怎樣 (攤手</p></description>
|
||||
</item>
|
||||
|
||||
@@ -38,11 +32,8 @@
|
||||
|
||||
<guid>https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/</guid>
|
||||
<description><p>因為工作上的需要,要修改client端的 /etc/environment 檔案</p>
|
||||
|
||||
<p>在有權限使用proxy 服務的user的環境中,加入proxy 的設定</p>
|
||||
|
||||
<p>原本的清單中,有host/user/ip 這幾個值可以拿來判斷</p>
|
||||
|
||||
<p>proxy server 那邊是採用ip 來控制,所以這邊也跟著用 ip 來判斷要不要修改 /etc/environment</p></description>
|
||||
</item>
|
||||
|
||||
@@ -53,9 +44,7 @@
|
||||
|
||||
<guid>https://h.cowbay.org/post/ansible-selectattr-from-list-in-dictionary/</guid>
|
||||
<description><p>在ansible中,關於如何引用自定義的變數,一直讓我很頭疼</p>
|
||||
|
||||
<p>尤其是有牽涉到從外部導入yaml檔案時,更是常常讓我不知道到底該怎麼抓出想要的變數</p>
|
||||
|
||||
<p>這次還是用selectattr 來處理,希望下次能夠記得&hellip;</p></description>
|
||||
</item>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user