This commit is contained in:
vincent 2021-04-22 09:15:26 +02:00
parent d90cd8ee1c
commit fb89671b79
26 changed files with 181 additions and 152 deletions

5
.ansible-lint Normal file
View File

@ -0,0 +1,5 @@
---
exclude_paths:
- ./.gitignore
- ./library/
- ./roles/

11
.yamllint Normal file
View File

@ -0,0 +1,11 @@
---
extends: default
rules:
# 80 chars should be enough, but don't fail if a line is longer
line-length:
max: 80
level: warning
allow-non-breakable-words: true
comments:
min-spaces-from-content: 1

View File

@ -4,6 +4,6 @@
- name: "install python and archlinux-keyring"
raw: pacman -Sy python archlinux-keyring --noconfirm
when: not debian.stdout
gather_facts: no
gather_facts: false
roles:
- ansible_bootstrap

View File

@ -3,15 +3,17 @@
pre_tasks:
- name: install terminfo
pacman:
state: present # not required. choices: absent;latest;present. Desired state of the package.
state: present
name:
- termite-terminfo # not required. Name or list of names of the packages to install, upgrade, or remove.
become: yes
- termite-terminfo
become: true
vars:
# certbot_force: true
roles:
- docker
- {role: nginx, become: yes }
- {role: ansible-role-postgresql, become: yes }
- role: nginx
become: true
- role: ansible-role-postgresql
become: true
- php
- user_config

View File

@ -1,16 +1,15 @@
---
- hosts: music-player
pre_tasks:
- name: install terminfo
pacman:
state: present # not required. choices: absent;latest;present. Desired state of the package.
state: present
name:
- termite-terminfo # not required. Name or list of names of the packages to install, upgrade, or remove.
become: yes
- termite-terminfo
become: true
roles:
- user_config
- cronie
- hass-client-control
- mpd

View File

@ -1,3 +1,4 @@
---
- src: gitea@git.ducamps.win:ansible-roles/JDownloader.git
scm: git
- src: gitea@git.ducamps.win:ansible-roles/ansible-arch-provissionning.git

View File

@ -3,15 +3,15 @@
pre_tasks:
- name: install terminfo
pacman:
state: present # not required. choices: absent;latest;present. Desired state of the package.
state: present
name:
- termite-terminfo # not required. Name or list of names of the packages to install, upgrade, or remove.
become: yes
- termite-terminfo
become: true
vars:
# certbot_force: true
roles:
- role: ansible-role-chisel
become: yes
become: true
- syncthing
- msmtp
- cronie
@ -19,26 +19,34 @@
- gandi-dyn-dns
- fail2ban
- ansible-pihole
- {role: ansible-role-certbot, become: yes} ##need to have a external connection on 80
- {role: nginx, become: yes }
- {role: ansible-role-postgresql, become: yes }
- {role: radicale , become: yes }
- {role: ansible-drone ,become: yes}
- role: ansible-role-certbot
become: true # need to have a external connection on 80
- role: nginx
become: true
- role: ansible-role-postgresql
become: true
- role: radicale
become: true
- role: ansible-drone
become: true
- php
- nextcloud
- tt-rss
- gitea
- supysonic
- hass
- {role: ansible-bitwardenrs , become: yes }
- {role: ansible-role-samba , become: yes }
- role: ansible-bitwardenrs
become: true
- role: ansible-role-samba
become: true
- chainetv
- user_config
tasks:
- name: create paccache job for arch mirror
cron:
job: "find {{arch_mirror_location}} -type d -exec paccache -v -r -k 2 -c {} \\;"
job: "find {{ arch_mirror_location }} -type d
-exec paccache -v -r -k 2 -c {} \\;"
user: "root"
name: "paccache job"
hour: "4"

View File

@ -1,3 +1,4 @@
---
- hosts: server
roles:
- ../roles/JDownloader

View File

@ -1,4 +1,5 @@
---
- hosts: server
become: yes
become: true
roles:
- ../roles/ansible-bitwardenrs

View File

@ -5,4 +5,3 @@
roles:
- ../roles/chainetv

View File

@ -1,4 +1,5 @@
---
- hosts: server
become: yes
become: true
roles:
- ../roles/ansible-role-chisel

View File

@ -1,6 +1,7 @@
---
- hosts:
- server
- build
become: yes
become: true
roles:
- ../roles/ansible-drone

View File

@ -1,3 +1,4 @@
---
- hosts: server
roles:
- ../roles/gitea

View File

@ -1,3 +1,4 @@
---
- hosts: server
roles:
- ../roles/hass

View File

@ -1,3 +1,4 @@
---
- hosts: server
roles:
- ../roles/msmtp

View File

@ -3,12 +3,10 @@
pre_tasks:
- name: install terminfo
pacman:
state: present # not required. choices: absent;latest;present. Desired state of the package.
state: present
name:
- termite-terminfo # not required. Name or list of names of the packages to install, upgrade, or remove.
become: yes
- termite-terminfo
become: true
roles:
- ../roles/nextcloud

View File

@ -1,4 +1,5 @@
---
- hosts: server
become: yes
become: true
roles:
- ../roles/nginx

View File

@ -5,4 +5,3 @@
roles:
- ../roles/php

View File

@ -1,3 +1,4 @@
---
- hosts: server
vars:
pihole_update_container: true

View File

@ -1,4 +1,5 @@
---
- hosts: server
become: yes
become: true
roles:
- ../roles/ansible-role-postgresql

View File

@ -5,4 +5,3 @@
roles:
- ../roles/supysonic

View File

@ -1,3 +1,4 @@
---
- hosts: all
roles:
- ../roles/system

View File

@ -5,5 +5,3 @@
roles:
- ../roles/tt-rss

View File

@ -2,7 +2,7 @@
- hosts: workstation
roles:
- role: ansible-role-chisel
become: yes
become: true
- syncthing
- user_config
- ansible-manager
@ -17,5 +17,4 @@
roles:
- laptop
- bluetooth
# - Windows_manager