add debug message

This commit is contained in:
Valentin CZERYBA 2022-10-28 20:20:16 +02:00
parent c26a6c6f84
commit 372f1d7c18
7 changed files with 20 additions and 9 deletions

View File

@ -1,3 +1,4 @@
msg: db
postgres_url: db.valczeryba.ovh
postgres_db: toto
postgres_port: 54321

View File

@ -1,9 +1,9 @@
drone_gitea_server: https://git.valczeryba.ovh
drone_server_host: drone.valczeryba.ovh
drone_agents_enabled: true
drone_server_host: localhost:8000
drone_server_proto: http
drone_tls_autocert: false
drone_open: false
drone_host: http://localhost:8000
drone_rpc_server: drone-server:8000
msg: drone

View File

@ -1,4 +1,4 @@
msg: registry
project_src: "/home/valentin/registry"
project_directory:

View File

@ -1,5 +1,6 @@
vps ansible_connection=ssh ansible_host=51.222.107.37 ansible_port=2424 ansible_user=valentin
valentin-nas ansible_connection=ssh ansible_host=151.80.37.38 ansible_port=2424 ansible_user=valentin
drone-host ansible_connection=ssh ansible_host=151.80.37.38 ansible_port=2424 ansible_user=valentin
localhost ansible_host=127.0.0.1
[db]
@ -12,14 +13,14 @@ db
valentin-nas
[registry:children]
nas
[registry]
valentin-nas
[drone:children]
nas
[drone]
drone-host
[drone_vault:children]
nas
drone
[nas_vault:children]
nas

View File

@ -1,9 +1,10 @@
---
- hosts: registry db
- hosts: registry db drone
remote_user: valentin
roles:
- server
- hosts: local
remote_user: valentin
roles:

3
server/tasks/debug.yml Normal file
View File

@ -0,0 +1,3 @@
- name: debug
debug:
msg: "coucou {{ msg }}"

View File

@ -1,6 +1,11 @@
---
# tasks file for server
- name: Debug role
ansible.builtin.import_tasks: debug.yml
tags: ["debug"]
- name: Deploy services
ansible.builtin.import_tasks: deploy.yml
tags: ["deploy", "create"]