add consul plybook
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2022-03-10 11:38:23 +01:00
parent 0a216951de
commit 3c4cf23396
5 changed files with 16 additions and 1 deletions

4
playbooks/consul.yml Normal file
View File

@ -0,0 +1,4 @@
- hosts: consul
roles:
- role: ansible-consul
become: true

View File

@ -20,3 +20,8 @@ corwin
[wireguard] [wireguard]
corwin corwin
oscar oscar
[consul:children]
server
VPS
dhcp

View File

@ -91,3 +91,5 @@
scm: git scm: git
- src: https://github.com/githubixx/ansible-role-wireguard.git - src: https://github.com/githubixx/ansible-role-wireguard.git
scm: git scm: git
- src: gitea@git.ducamps.win:ansible-roles/ansible-consul.git
scm: git

View File

@ -1,6 +1,7 @@
--- ---
- import_playbook: playbooks/global.yml - import_playbook: playbooks/global.yml
- import_playbook: playbooks/wireguard.yml - import_playbook: playbooks/wireguard.yml
- import_playbook: playbooks/consul.yml
- import_playbook: playbooks/music-player.yml - import_playbook: playbooks/music-player.yml
- import_playbook: playbooks/server.yml - import_playbook: playbooks/server.yml
- import_playbook: playbooks/build.yml - import_playbook: playbooks/build.yml

View File

@ -11,7 +11,7 @@ VMDS
VMAS-BUILD VMAS-BUILD
[dhcp] [dhcp]
VMAS-BUILD ansible_host=192.168.1.53 VMAS-BUILD
[server:children] [server:children]
VMServer VMServer
@ -20,3 +20,6 @@ VMServer
VMAS-HML VMAS-HML
[Default] [Default]
[consul]
VMAS-BUILD