1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00
Sway acid dark
Go to file
2020-05-15 01:09:09 +02:00
docker/archlinux fixed travis mako dep missing 2020-05-14 20:39:18 +02:00
group_vars updated wofi config with dynamic yellow 2020-05-14 11:01:44 +02:00
roles added systemd module to waybar 2020-05-14 22:35:34 +02:00
screenshots removed background script 2020-05-13 22:21:24 +02:00
.gitignore fix git ignore 2019-12-01 16:43:50 +01:00
.gitmodules submodule removed 2020-04-26 18:51:22 +02:00
.travis.yml fixed playbook run 2020-05-13 23:36:22 +02:00
ansible.cfg ignore errors on install packages 2019-12-01 17:35:51 +01:00
hosts.template clean somes directories 2020-05-13 21:20:33 +02:00
install.yml mako configuration 2020-05-14 16:20:03 +02:00
README.md removed aur submodule 2020-05-14 13:09:50 +02:00
TODO updated TODO 2020-05-15 01:09:09 +02:00

Sway Acid Dark

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 uses jinja2 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 in roles/*/README.md.

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

Then, configure desktop environment in group_vars/all.yml.

3. Configure inventory

Create inventory file from template.

cd dotfiles
cp hosts.template hosts

Add your hostnames in section:

  • cli: install only cli tools
  • desktop: install cli tools + desktop environment

Define which user will get configurations with ansible_user var.

  • desktop hosts can't use root.
a. localhost run

Let's use a trick to let ansible think that there is 2 different hosts.
It will configure root with cli tools only and user with desktop environment. That trick needs -K without -b when running playbook.

[cli]
cli_user ansible_connection=local ansible_user=root
[desktop]
desktop ansible_connection=local ansible_user=user
b. multiple hosts run
[cli]
server1 ansible_user=root
[desktop]
host1 ansible_user=user
host2 ansible_user=user2
4. Configure SSH

Push your SSH public key on all your users@hosts

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

To configure cli tools for root on desktop hosts:
Note: ansible_user needs to be sudoers.

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

Previously