add debug message
This commit is contained in:
parent
c26a6c6f84
commit
372f1d7c18
@ -1,3 +1,4 @@
|
||||
msg: db
|
||||
postgres_url: db.valczeryba.ovh
|
||||
postgres_db: toto
|
||||
postgres_port: 54321
|
||||
|
@ -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
|
||||
drone_rpc_server: drone-server:8000
|
||||
msg: drone
|
@ -1,4 +1,4 @@
|
||||
|
||||
msg: registry
|
||||
project_src: "/home/valentin/registry"
|
||||
|
||||
project_directory:
|
||||
|
@ -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
|
||||
|
@ -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
3
server/tasks/debug.yml
Normal file
@ -0,0 +1,3 @@
|
||||
- name: debug
|
||||
debug:
|
||||
msg: "coucou {{ msg }}"
|
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user