Windows SSH setup Install OpenSSH for Windows 預設的 shell 是使用 cmd,照文件說,若需要修改,是要改 ansible_shell_type 變數,這應該是要在 inventory 主機裡加入主機變數:ansible_shell_type,變數內容可以是 cmd 或 powershell。 inventory 主機裡要加入 ansible_connection …
Ansible
Recent posts
將指令輸出轉為圖片 --- - name: Capture command output and convert to image hosts: all tasks: - name: Display content of /etc/redhat-release shell: cat /etc/redhat-release register: redhat_release_result - name: …
LVM - lvg 與 lvol 卷群組 - name: 在 /dev/sda1 跟 /dev/sdb1 之上建立 volume group,其 extend size 設置為 32MB community.general.lvg: vg: vg.services pvs: /dev/sda1,/dev/sdb1 pesize: 32 本地卷 - name: 建立一個大小為 512m 的 local volume …
All posts
16 posts| Date | Reading time | Title | 標籤 |
|---|---|---|---|
| 1 分鐘 | Windows SSH setup
1 分鐘 | ||
| 1 分鐘 | 將指令輸出轉為圖片
1 分鐘 | ||
| 1 分鐘 | LVM - lvg 與 lvol
1 分鐘 | ||
| 1 分鐘 | YAML 裡的字串很長該怎麼做?
1 分鐘 | ||
| 1 分鐘 | 將 List 轉置為 dict 的 list
1 分鐘 | ||
| 2 分鐘 | fortios_system_config_backup_restore 的拼寫錯誤、缺少 collection,或模組路徑不正確
2 分鐘 | ||
| 1 分鐘 | [網友好文]Cisco UCS CIMC系列文章
1 分鐘 | ||
| 1 分鐘 | ansible.builtin.slurp - 讀取檔案內容
1 分鐘 | ||
| 1 分鐘 | Ansible Network 的新 LibSSH 連線外掛取代 Paramiko,並支援 FIPS 模式
1 分鐘 | ||
| 2 分鐘 | 使用 Ansible 透過 RestAPI 備份 FortiOS 設定
2 分鐘 | ||
| 1 分鐘 | Ansible 簡介
1 分鐘 | ||
| 1 分鐘 | Abount Ansible Hosts
1 分鐘 |