Meta-installer
This commit is contained in:
parent
1876ddeb71
commit
a3436268c8
10 changed files with 100 additions and 40 deletions
|
@ -5,11 +5,6 @@
|
|||
- role: system
|
||||
tags: system
|
||||
when: root_access
|
||||
- role: dotfiles
|
||||
tags: dotfiles
|
||||
- role: termux
|
||||
tags: termux
|
||||
when: termux
|
||||
- role: extensions
|
||||
tags: extensions
|
||||
# TODO Dependencies
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
- name: Install dotfiles
|
||||
ansible.builtin.command: "{{ ansible_user_dir }}/.dotfiles/config/scripts/dotfiles install"
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
- name: Install dotfiles repository
|
||||
ansible.builtin.git:
|
||||
repo: "{% if has_forge_access %}git@git.frogeye.fr:{% else %}https://git.frogeye.fr/{% endif %}geoffrey/dotfiles.git"
|
||||
dest: "{{ ansible_user_dir }}/.dotfiles"
|
||||
update: true
|
||||
notify: install dotfiles
|
||||
tags: dotfiles_repo
|
||||
# TODO Put actual dotfiles in a subdirectory of the repo, so we don't have to put everything in config
|
|
@ -1,14 +0,0 @@
|
|||
---
|
||||
- name: Load extensions
|
||||
ansible.builtin.include_role:
|
||||
name: geoffreyfrogeye.{{ extension }}automatrop.entry
|
||||
loop: "{{ extensions }}"
|
||||
loop_control:
|
||||
loop_var: extension
|
||||
tags: always
|
||||
|
||||
- name: Configure extensions rc sourcing
|
||||
ansible.builtin.template:
|
||||
src: extrc.sh.j2
|
||||
dest: "{{ ansible_user_dir }}/.config/shell/extrc"
|
||||
mode: u=rw,g=r,o=r
|
|
@ -1,7 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
{% for extension in extensions %}
|
||||
trysource ~/.config/{{ extension }}scripts/{{ extension }}profile
|
||||
{% endfor %}
|
||||
{# TODO Rename profile as rc, and add env #}
|
||||
{# TODO Put in non-linked path #}
|
Loading…
Add table
Add a link
Reference in a new issue