Skip to content

cocooma/ansible-role-dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published