Reorganized automatrop hosts
This commit is contained in:
parent
4919fbea0e
commit
2cbf555a9d
9 changed files with 69 additions and 6 deletions
12
config/automatrop/roles/access/tasks/main.yml
Normal file
12
config/automatrop/roles/access/tasks/main.yml
Normal 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
|
2
config/automatrop/roles/dotfiles/handlers/main.yml
Normal file
2
config/automatrop/roles/dotfiles/handlers/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: install dotfiles
|
||||
command: "{{ ansible_user_dir }}/.dotfiles/config/scripts/dotfiles install"
|
9
config/automatrop/roles/dotfiles/tasks/main.yml
Normal file
9
config/automatrop/roles/dotfiles/tasks/main.yml
Normal 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"
|
7
config/automatrop/roles/dotfiles/templates/rssVideos.j2
Normal file
7
config/automatrop/roles/dotfiles/templates/rssVideos.j2
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue