mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
clean somes directories
This commit is contained in:
parent
42051e3917
commit
5f10e4ddc5
@ -1,4 +1,3 @@
|
||||
#localhost ansible_connection=local ansible_user=user
|
||||
[server]
|
||||
[laptop]
|
||||
[cli]
|
||||
[desktop]
|
||||
|
18
install.yml
18
install.yml
@ -3,7 +3,7 @@
|
||||
roles:
|
||||
- { role: authorized_keys, tags: init_ssh }
|
||||
|
||||
- hosts: desktop:laptop
|
||||
- hosts: desktop
|
||||
tags: limit
|
||||
tasks:
|
||||
- name: Limit to Archlinux and NixOS
|
||||
@ -18,7 +18,7 @@
|
||||
when: ansible_user_id == "root"
|
||||
|
||||
# Configure user cli
|
||||
- hosts: server:desktop:laptop
|
||||
- hosts: cli
|
||||
roles:
|
||||
- { role: fish, tags: fish }
|
||||
- { role: neovim, tags: neovim }
|
||||
@ -26,18 +26,7 @@
|
||||
- { role: git, tags: git }
|
||||
- { role: userbin, tags: userbin }
|
||||
|
||||
# Configure root cli
|
||||
- hosts: server:desktop:laptop
|
||||
become: yes
|
||||
|
||||
roles:
|
||||
- { role: fish, tags: fish }
|
||||
- { role: neovim, tags: neovim }
|
||||
- { role: screen, tags: screen }
|
||||
- { role: git, tags: git }
|
||||
- { role: userbin, tags: userbin }
|
||||
|
||||
- hosts: desktop:laptop
|
||||
- hosts: desktop
|
||||
roles:
|
||||
- role: ssh-agent
|
||||
tags: ssh-agent
|
||||
@ -48,6 +37,7 @@
|
||||
- { role: variety, tags: variety }
|
||||
- { role: wofi, tags: wofi }
|
||||
- { role: kitty, tags: kitty }
|
||||
|
||||
tasks:
|
||||
- include_role:
|
||||
name: vagrant
|
||||
|
@ -1,9 +0,0 @@
|
||||
deb http://ftp.fr.debian.org/debian/ buster main
|
||||
deb-src http://ftp.fr.debian.org/debian/ buster main
|
||||
|
||||
deb http://security.debian.org/debian-security buster/updates main
|
||||
deb-src http://security.debian.org/debian-security buster/updates main
|
||||
|
||||
# buster-updates, previously known as 'volatile'
|
||||
deb http://ftp.fr.debian.org/debian/ buster-updates main
|
||||
deb-src http://ftp.fr.debian.org/debian/ buster-updates main
|
@ -1,23 +0,0 @@
|
||||
---
|
||||
- name: Gather facts
|
||||
gather_facts:
|
||||
|
||||
- name: Upgrade to Debian 10
|
||||
block:
|
||||
- name: Install https source support
|
||||
apt:
|
||||
name:
|
||||
- apt-transport-https
|
||||
- ca-certificates
|
||||
- name: Define apt sources to buster
|
||||
copy:
|
||||
src: sources.list
|
||||
dest: /etc/apt/
|
||||
- name: Apt update and upgrade
|
||||
apt:
|
||||
update_cache: yes
|
||||
upgrade: yes
|
||||
- name: Apt dist upgrade
|
||||
apt:
|
||||
upgrade: dist
|
||||
when: ansible_distribution_release == 'stretch'
|
@ -1,4 +0,0 @@
|
||||
# upgrade to debian buster
|
||||
```
|
||||
ansible <target> -m include_role -a 'name=buster_upgrade'
|
||||
```
|
Loading…
Reference in New Issue
Block a user