# 使用 Homebrew 安装 aria2
brew install aria2
# 创建配置文件aria2.conf和空对话文件aria2.session
mkdir ~/.aria2 && cd ~/.aria2
touch aria2.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# coding=utf-8 | |
import json | |
from ansible.executor.task_queue_manager import TaskQueueManager | |
from ansible.inventory import Inventory | |
from ansible.inventory.group import Group | |
from ansible.inventory.host import Host | |
from ansible.parsing.dataloader import DataLoader | |
from ansible.playbook.play import Play |