charlesrocket.dotfiles

dotfiles_role

Ansible Role
molecule
score

Gitリポジトリからdotfilesをデプロイします。

要件

管理対象のマシンにgitが必要です(git_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 # StrictHostKeyChecking
dotfiles_repo_force: false # git cloneを強制
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.