cocooma.dotfiles

Ansible Role: Dotfiles

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

dotfiles_repo: "https://github.com/cocooma/dotfiles.git"

The git repository to use for retrieving dotfiles. Dotfiles should generally be laid out within the root directory of the repository.

dotfiles_repo_local_destination: "~/Documents/dotfiles"

The local path where the dotfiles_repo will be cloned.

dotfiles_home: "~"

The home directory where dotfiles will be linked. Generally, the default should work, but in some circumstances, or when running the role as sudo on behalf of another user, you may want to specify the full path.

dotfiles_files:
  • .zshrc
  • .gitignore
  • .inputrc
  • .vimrc
  • .osx
  • .vimrc
  • .gitconfig

Which files from the dotfiles repository should be linked to the dotfiles_home.

Dependencies

None

Example Playbook

- hosts: localhost
  roles:
    - { role: cocooma.dotfiles }
About

Dotfile installation for UNIX/Linux.

Install
ansible-galaxy install cocooma.dotfiles
GitHub repository
License
Unknown
Downloads
57
Owner
DevOps Engineer