Reorganized automatrop hosts

This commit is contained in:
Geoffrey Frogeye 2021-06-13 14:46:01 +02:00
parent 4919fbea0e
commit 2cbf555a9d
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
9 changed files with 69 additions and 6 deletions

View file

@ -0,0 +1,17 @@
# Default values
# If you have root access on the machine (via sudo)
root_access: no
# Display server (no, "x11", "wayland")
display_server: no
# What development work will I do on this machine
dev_stuffs: []
# Install software that is rarely used
software_full: no
# Which additional software to install
software_snippets: []

View file

@ -0,0 +1,9 @@
root_access: yes
display_manager: "x11"
dev_stuffs:
- python
- shell
- network
- ansible
- docker
software_full: yes

View file

@ -0,0 +1,6 @@
root_access: yes
display_manager: "x11"
dev_stuffs:
- shell
- network
- ansible

View file

@ -1,4 +1,3 @@
localhost curacao.geoffrey.frogeye.fr
#curacao.geoffrey.frogeye.fr # triffle.geoffrey.frogeye.fr
#triffle.geoffrey.frogeye.fr pindakaas.geoffrey.frogeye.fr
#bufobufo.frogeye.nl

View file

@ -1,12 +1,14 @@
- name: Default - name: Default
hosts: all hosts: all
roles: roles:
- role: access
tags: access
- role: software - role: software
tags: software tags: software
- role: dotfiles
tags: dotfiles
- role: mnussbaum.base16-builder-ansible # Required for color - role: mnussbaum.base16-builder-ansible # Required for color
tags: color tags: color
- role: color - role: color
tags: color tags: color
- role: vdirsyncer
tags: vdirsyncer

View file

@ -0,0 +1,12 @@
- name: Enable passwordless sudo access to wheel group
lineinfile:
path: /etc/sudoers
line: "%wheel ALL=(ALL) NOPASSWD: ALL"
regexp: "^#? *%wheel ALL=\\(ALL\\) NOPASSWD: ALL$"
become: yes
- name: Remove Manjaro installer sudoers override
file:
path: /etc/sudoers.d/10-installer
state: absent
become: yes

View file

@ -0,0 +1,2 @@
- name: install dotfiles
command: "{{ ansible_user_dir }}/.dotfiles/config/scripts/dotfiles install"

View file

@ -0,0 +1,9 @@
- name: Install dotfiles repository
git:
repo: https://git.frogeye.fr/geoffrey/dotfiles.git
dest: "{{ ansible_user_dir }}/.dotfiles"
notify: install dotfiles
# - name: Install python dependencies for scripts
# pip:
# requirements: "{{ ansible_user_dir }}/.dotfiles/config/scripts/requirements.txt"

View file

@ -0,0 +1,7 @@
{% set hostname = 'rss.frogeye.fr' %}
{% set user = 'geoffrey' %}
feed=https://{{ hostname }}/i/?a=rss&user={{ user }}&token={{ query('community.general.passwordstore', 'http/' + hostname + '/' + user + 'subkey=token' ) }}&hours=17520
videos=~/Téléchargements/RSS
subtitles=true
max-duration=7200
format=bestvideo[height<=1440]+bestaudio/best