charlesrocket.dotfiles

dotfiles角色

Ansible角色 分子 评分

从git仓库部署dotfiles

要求

在管理机器上需要有gitgit_role

安装

requirements.yml:

roles:
  - name: charlesrocket.dotfiles
示例
- name: 任务计划
  hosts: all

  roles:
    - charlesrocket.dotfiles

设置变量

示例
dotfiles_repo: "https://github.com/charlesrocket/dotfiles.git" # dotfiles
dotfiles_repo_version: openbsd # 要跟踪的分支
dotfiles_repo_accept_hostkey: false # 严格的主机密钥检查
dotfiles_repo_force: false # 强制git克隆
dotfiles_repo_local_destination: "~/git/dotfiles" # 本地仓库路径
dotfiles_home: "~" # 本地dotfiles路径
dotfiles_files: # 要跟踪的文件
  - .config/mc/ini
  - .zshrc
关于项目

Dotfiles deployment from Git repositories

安装
ansible-galaxy install charlesrocket.dotfiles
许可证
mit
下载
2.7k
拥有者
searchers after horror haunt strange, far places.