Skip to content

An Ansible role to deploy personal dotfiles and scripts.

License

Notifications You must be signed in to change notification settings

zaszi/ansible-role-dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Dotfiles

Deploys personal dotfiles and scripts.

Requirements

It is recommended to run this role with become: false, as most tasks are relevant to your particular user, not the entire system. The few tasks that require root will escalate privileges on their own (and thus you will still need a user that has sudo rights). Additionally, this role assumes that the prerequisite software is already installed. Refer to the dotfiles readme for more information.

Role Variables

Variable Choices/Default Comments
alacritty true, false Whether to install Alacritty configuration files
bash true, false Whether to install Bash configuration files
bash_root true, false Whether to install Bash configuration files for the root user
mako true, false Whether to install Mako configuration files
neovim true, false Whether to install Neovim configuration files
neovim_plugins [], … List of Neovim plugins to install
qutebrowser true, false Whether to install Qutebrowser configuration files
rust true, false Whether to set up the Rust development tools
rust_components [], … List of Rust components to install
rust_cargo [], … List of Rust Cargo binaries to install
scripts true, false Whether to install user scripts
sway true, false Whether to install Sway and Waybar configuration files
sway_host_config "", … Host-specific Sway configuration to append (like multi-monitor)
syncthing true, false Whether to set up Syncthing
tmux true, false Whether to install Tmux configuration files
weechat true, false Whether to install Weechat relay service files
weechat_backup_location "", … Location of the Weechatconfiguration backup tarball

Dependencies

This role requires my dotfiles and my scripts repositories placed or symlinked under files/.

Example Playbook

- hosts: all
  become: false
  roles:
     - ansible-role-dotfiles

License

Ansible-role-dotfiles is licensed under the MIT license.

About

An Ansible role to deploy personal dotfiles and scripts.

Topics

Resources

License

Stars

Watchers

Forks