Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sway acid dark

NotificationsYou must be signed in to change notification settings

eoli3n/dotfiles

Repository files navigation

Build Status

Sway fish pure waybar neovim

alt tag

Tiny irc client

alt tag

Firefox/Tabliss Wofi

alt tag

Connman/Thunar GTK Theme

alt tag

Why Ansible ?

  • Modularity:Roles as modules.
  • Factorization: It usesjinja2 templating engine.
  • Simplicity: No agent, only SSH, available via pip.
  • Flexibility: Push your dotfiles from/to any hosts.
  • Toolbox: Dry-run mode, diff mode, secrets encryption, tags...

How to

Use carefully, backup your home before using !
You should use--check and--diff to dryrun first.

Check details inroles/*/README.md.

This project only manages dotfiles.
To install required packages, usearch-config,void-config ornix-config.

1. Fork Me!
2. Clone your repo
git clone https://github.com/*/dotfiles

Then, configure desktop environment ingroup_vars/all.yml.

3. Configure inventory

Create inventory file from template.

cd dotfilescp hosts.template hosts

Add your hostnames in section:

  • cli: only cli dotfiles
  • desktop: cli dotfiles + desktop environment
    Define which user will get configurations withansible_user var.
a. localhost run
[cli][desktop]localhost ansible_connection=local
b. multiple hosts run

Note:desktop hostscan't use root.

[cli]server1 ansible_user=root[desktop]host1 ansible_user=userhost2 ansible_user=user2
4. Configure SSH

Push your SSH public key on all yourusers@hosts

ssh-copy-id -i path/to/ssh/key.pub user@host
5. (Dry)Run
ansible-playbook install.yml -CDansible-playbook install.yml

Fordesktop hosts, ifansible_user is sudoer, to install cli tools forroot, use:

ansible-playbook install.yml -l host1 -b -K

Previously

[8]ページ先頭

©2009-2025 Movatter.jp