Skip to content

devopstoolbox/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name

dotfiles

Build Status

Ansible galaxy:

https://galaxy.ansible.com/devopstoolbox.dotfiles

ansible-galaxy install devopstoolbox.dotfiles

Requirements

  • For RHEL, a Red Hat subscription or functional local repository.

Role Variables

dotfiles_repo: "https://github.com/crivetimihai/dotfiles.git"
dotfiles_repo_version: HEAD
dotfiles_path: ~/.dotfiles
spacemacs_version: "v0.200.13"

dotfiles_user: ansible

# Link dotfiles
dotfiles_files:
  - .tmux.conf.local
  - .tmux.conf
  - .zshrc

# Copy (and backup)
dotfiles_copy:
  - .zshrc.local
  - .gitconfig

# Sync (no backup)
dotfiles_sync:
  - .config

Dependencies

  • For Red Hat, subscription-manager.

Example Playbook

---
- name: Install dotfiles on localhost
  hosts:
    - localhost
  connection: local

  tasks:
    - name: dotfiles is configured
      import_role:
        name: devopstoolbox.dotfiles
      vars:
        dotfiles_repo: "https://github.com/crivetimihai/dotfiles.git"
        dotfiles_repo_version: HEAD
        dotfiles_path: ~/.dotfiles
        spacemacs_version: "v0.200.13"

        dotfiles_user: ansible

        # Link dotfiles
        dotfiles_files:
          - .tmux.conf.local
          - .tmux.conf
          - .zshrc

        # Copy (and backup)
        dotfiles_copy:
          - .zshrc.local
          - .gitconfig

        # Sync (no backup)
        dotfiles_sync:
          - .config
      tags: dotfiles

License

MIT

Author Information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages