review inventory
This commit is contained in:
parent
803e5fdf55
commit
fcd55b9ae0
16
build.yml
Normal file
16
build.yml
Normal 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
|
@ -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
|
@ -3,7 +3,10 @@ oscar
|
||||
|
||||
[workstation]
|
||||
fixe-pc
|
||||
zen-pc
|
||||
tablette
|
||||
|
||||
[workstation:children]
|
||||
laptop
|
||||
|
||||
[laptop]
|
||||
zen-pc
|
||||
tablette
|
||||
|
@ -12,4 +12,4 @@
|
||||
- ansible_bootstrap
|
||||
|
||||
- remote_user: "{{ user.name }}"
|
||||
import_playbook: global.yml
|
||||
import_playbook: site.yml
|
||||
|
3
site.yml
3
site.yml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user