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,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
|
@ -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
|
||||
|
1
site.yml
1
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
|
Loading…
Reference in New Issue
Block a user