danbohea.sketch
Ansible角色:Sketch
在macOS上安装Sketch、支持工具和插件。
要求
- macOS 10.11或10.12
角色变量
所有角色默认变量及其默认值如下所示。
sketch_apps:
- sketch
- sketch-tool
- sketch-toolbox
要安装的应用程序(通过Homebrew Cask)。
sketch_plugins_dir: "/Users/{{ ansible_env.USER }}/Library/Application Support/com.bohemiancoding.sketch3/Plugins"
Sketch插件应安装的路径。默认值是当前可用版本的Sketch的默认位置。
sketch_plugin_repos:
- { repo: "https://github.com/ddwht/sketch-dynamic-button.git", dest: "sketch-dynamic-button" }
- { repo: "https://github.com/getflourish/Sketch-Style-Inventory.git", dest: "Sketch-Style-Inventory" }
- { repo: "https://github.com/tylergaw/day-player.git", dest: "day-player" }
- { repo: "https://github.com/timuric/Content-generator-sketch-plugin.git", dest: "Content-generator-sketch-plugin" }
- { repo: "https://github.com/bomberstudios/sketch-commands.git", dest: "sketch-commands" }
- { repo: "https://github.com/ScottSavarie/Clipboard-Fill.git", dest: "Clipboard-Fill" }
要安装的Sketch插件。
repo
应包含插件公共Git仓库的绝对URL。dest
将用于命名插件克隆到的子目录。
依赖项
示例剧本
- hosts: macbook
connection: local
roles:
- role: ansible-role-sketch
许可
MIT