Skip to content

For managing my dotfiles and their symlinks using ansible

Notifications You must be signed in to change notification settings

vfaergestad/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles Ansible Playbook

Overview

This repository contains an Ansible playbook for automating the setup of dotfiles. It creates symbolic links from a central directory (~/.dotfiles) to their respective locations in the user's home directory.

Prerequisites

Ansible: Ensure Ansible is installed on your system.

Clone the repository

git clone git@github.com:vfaergestad/.dotfiles.git <path/to/your/dotfiles>

Running the Playbook

To execute the playbook, navigate to the directory containing the playbook and run:

ansible-playbook dotfiles.yml

Customizing the Playbook

To customize the playbook for your dotfiles, modify the dotfiles variable in the vars section of the playbook. Specify each file's source (src) and destination (dest) as follows:

dotfiles_dir: ~/.dotfiles # Change this if you want to use a different directory for your dotfiles
dotfiles:
  - src: .zshrc
    dest: ~/.zshrc
  - src: .vimrc
    dest: ~/.vimrc
  # Add more dotfiles as needed

About

For managing my dotfiles and their symlinks using ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages