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,5 +1,22 @@
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
- name: fixe-pc new
sshkey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDBrP9akjyailPU9tUMvKrtDsqjI191W1L95u3OFjBqqapXgbDVx1FVtSlIIKcCHZyTII1zgC7woZmNRpmaIJRh6N+VIuRrRs29xx2GUVc4pxflUwwIAK36hgZS3nqmA2biacmPR9HogZLZMcPtZdLhWGlLuUv1cWqbqW7UcDa0lbubCo2v4OQMx/zt37voKAZSkkbH9mVszH6eKxNFy1KXbLYhwXiKfYBnAHbivhiSkZUGV6D4HNj8Jx6IY1YF3bfwMXmt841Q/7OY+t3RTIS8ewvSF+jpQ7GKHBEsZTZUGwIoSyZFFvCgKQVOJu/ZJJS4HNkluilir9Sxtx2LRgy+HHQ251trnsVsJp3ts4uTiMkKJQy1PXy1ZvQXYkip9Af3vlXUMmTyVj8cv+No07G1rZ1pZ3wXKX4RkTsoep5GsYlhyUd7GzsAQQiX9YhYyWDQ6NHBYAGAWbw2BLNxltWa4AyWOa1C8v+1+mRwdvpdMY7powJNCXQaIJmiOZiI/Us= vincent@fixe-pc-2020-03-01
sshkey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDBrP9akjyailPU9tUMvKrtDsqjI191W1L95u3OFjBqqapXgbDVx1FVtSlIIKcCHZyTII1zgC7woZmNRpmaIJRh6N+VIuRrRs29xx2GUVc4pxflUwwIAK36hgZS3nqmA2biacmPR9HogZLZMcPtZdLhWGlLuUv1cWqbqW7UcDa0lbubCo2v4OQMx/zt37voKAZSkkbH9mVszH6eKxNFy1KXbLYhwXiKfYBnAHbivhiSkZUGV6D4HNj8Jx6IY1YF3bfwMXmt841Q/7OY+t3RTIS8ewvSF+jpQ7GKHBEsZTZUGwIoSyZFFvCgKQVOJu/ZJJS4HNkluilir9Sxtx2LRgy+HHQ251trnsVsJp3ts4uTiMkKJQy1PXy1ZvQXYkip9Af3vlXUMmTyVj8cv+No07G1rZ1pZ3wXKX4RkTsoep5GsYlhyUd7GzsAQQiX9YhYyWDQ6NHBYAGAWbw2BLNxltWa4AyWOa1C8v+1+mRwdvpdMY7powJNCXQaIJmiOZiI/Us= vincent@fixe-pc-2020-03-01

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
- 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