review inventory

This commit is contained in:
vincent 2021-03-22 21:29:09 +01:00
parent 803e5fdf55
commit fcd55b9ae0
6 changed files with 49 additions and 9 deletions

16
build.yml Normal file
View File

@ -0,0 +1,16 @@
---
- hosts: build
pre_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
vars:
# certbot_force: true
roles:
- {role: nginx, become: yes }
- {role: ansible-role-postgresql, become: yes }
- php
- user_config

View File

@ -1,3 +1,20 @@
systemd_mounts:
diskstation_git:
share: diskstation.ducamps.win:/volume2/git
mount: /mnt/diskstation/git
type: nfs
options:
- " "
automount: true
systemd_mounts_enabled:
- diskstation_git
nginx_error_log: "/var/log/nginx/error.log debug"
docker_users:
- "{{ user.name }}"
postgresql_users:
- name: root
role_attr_flags: SUPERUSER
password: "{{ vault_mysql_root }}"
keystodeploy:
- name: juicessh without password
sshkey: ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBGHcHCTrzRuxEhsRdV+Q2Yr+nQNNuYKoNLmxW3IlVJtCIuaCY5prX1UuE8+nNWhbNVSagBCQwmubxLUV5ORf+tCBHeMyDPo7oetu3Wy5JaUwfGcuw3yGN94Qj3LqPUkdiw== juicewithoutpassword

View File

@ -3,7 +3,10 @@ oscar
[workstation]
fixe-pc
zen-pc
tablette
[workstation:children]
laptop
[laptop]
zen-pc
tablette

View File

@ -12,4 +12,4 @@
- ansible_bootstrap
- remote_user: "{{ user.name }}"
import_playbook: global.yml
import_playbook: site.yml

View File

@ -2,5 +2,6 @@
- import_playbook: global.yml
- import_playbook: music-player.yml
- import_playbook: server.yml
- import_playbook: build.yml
- import_playbook: workstation.yml
- import_playbook: debian.yml

11
staging
View File

@ -1,15 +1,18 @@
[workstation]
VMAW
[workstation:children]
laptop
[laptop]
VMAW
[build]
VMDS
VMAS-BUILD
[server:children]
VMServer
[VMServer]
VMAS-HML
VMAS-BUILD
[debian]
VMDS