add variable
This commit is contained in:
parent
ce5003d151
commit
33dd9eb836
@ -1,4 +1,8 @@
|
||||
##ansible_python_interpreter: /usr/bin/python2
|
||||
user:
|
||||
name: vincent
|
||||
uid: 1024
|
||||
uid: 1024
|
||||
mail: vincent@ducamps.win
|
||||
|
||||
domain:
|
||||
name: ducamps.win
|
@ -1,7 +1,10 @@
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
37316536616233313365623539323834623836653839376231383563323639616331386164343832
|
||||
3665663937376437323236396237616339616538643635610a643439343365613139623964623831
|
||||
66616430623239363436656538306232373339303737613531326463623662383566363662333230
|
||||
6338623736373834660a653136373963346265376639663836323537666332393831386662396361
|
||||
66396432393131373830666532646530393038353333663936613533363833343264326263326665
|
||||
6233323135383039626138656339363739643463373438353234
|
||||
36336139353839303537376234623535363838613761633137633166636261353862643935393563
|
||||
6363356531376261333364306238343961343435336637380a623134636661326262623635326266
|
||||
62623433343939353866373365343966656533376230323835313131326130326265316364336537
|
||||
6332306265643336630a326530656536373662613636353735666164326461333232363534316564
|
||||
36643333636464663734666364366436366235326136313134393965626636643034396662383261
|
||||
34363236653530326635303239643166313966363062333534616332383736626430346633396438
|
||||
61353964643930353731316664393534356366373563326337303964323366333733386134646337
|
||||
31303736383735366662323637336635656161376337313563386438376136653365656433663336
|
||||
3530
|
||||
|
@ -21,4 +21,26 @@ systemd_mounts_enabled:
|
||||
|
||||
syncthing_address: "{{inventory_hostname}}:8384"
|
||||
syncthing_gui_user: "{{user.name}}"
|
||||
syncthing_gui_password: $2a$10$nJZ8YN/1mB84Cbi79BKka.6SFMAKF.CBwyCNJDA9qUgXdkcuBilx2
|
||||
syncthing_gui_password: $2a$10$nJZ8YN/1mB84Cbi79BKka.6SFMAKF.CBwyCNJDA9qUgXdkcuBilx2
|
||||
|
||||
notification_mail: "{{ user.mail }}"
|
||||
ssmtp_mailhub: smtp.{{ domain.name }}:587
|
||||
ssmtp_hostname: "{{ domain.name }}"
|
||||
ssmtp_auth_user: "{{ user.mail }}"
|
||||
ssmtp_auth_pass: "{{ vault_default_password }}"
|
||||
|
||||
rsynclocations:
|
||||
- name: backup nas
|
||||
location: /mnt/backup
|
||||
readonly: "no"
|
||||
|
||||
rsynchostalloawed: 192.168.1.10
|
||||
|
||||
|
||||
|
||||
fail2ban_destmail: "{{ user.mail }}"
|
||||
fail2ban_sendmail: "{{ user.mail }}"
|
||||
|
||||
Gandi_API_KEYS: "{{ vault_gandi_API_Keys }}"
|
||||
Gandi_Domain: "{{ domain.name }}"
|
||||
Gandi_Record: www
|
15
server.yml
15
server.yml
@ -1,8 +1,21 @@
|
||||
---
|
||||
- hosts: server
|
||||
tasks:
|
||||
- name: install terminfo
|
||||
pacman:
|
||||
state: present # not required. choices: absent;latest;present. Desired state of the package.
|
||||
name:
|
||||
- termite-terminfo # not required. Name or list of names of the packages to install, upgrade, or remove.
|
||||
become: yes
|
||||
|
||||
roles:
|
||||
- dns
|
||||
- ssmtp
|
||||
- cronie
|
||||
- rsyncd
|
||||
- gandi-dyn-dns
|
||||
- fail2ban
|
||||
- dns
|
||||
- tt-rss
|
||||
- gitea
|
||||
- user_config
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user