불필요 파일 삭제

This commit is contained in:
ByeonJungHun
2024-02-19 16:06:11 +09:00
parent 360c6eef4a
commit 2e29d65b99
4342 changed files with 484 additions and 1487 deletions

View File

@@ -0,0 +1,15 @@
Vagrant.configure("2") do |config|
config.vm.define "backend" do |backend|
backend.vm.box = "centos/8"
backend.vm.network "private_network", ip: "192.168.50.91"
backend.vm.provision "ansible" do |ansible|
ansible.playbook = "back.yaml"
end
end
config.vm.define "agent" do |agent|
agent.vm.box = "gusztavvargadr/windows-10"
agent.vm.hostname = "host-win"
agent.vm.network "private_network", ip: "192.168.50.90"
end
end

View File

@@ -0,0 +1,18 @@
---
- name: Install backend
hosts: all
become: true
tasks:
- name: Install cli
include_role:
name: sensu.sensu_go.install
vars:
version: latest
components: [ sensu-go-cli ]
- name: Install backend
include_role:
name: sensu.sensu_go.backend
vars:
version: latest

View File

@@ -0,0 +1,10 @@
---
all:
hosts:
windows:
ansible_host: 192.168.50.90
ansible_port: 5985
ansible_user: vagrant
ansible_password: vagrant
ansible_connection: winrm
ansible_winrm_transport: basic

View File

@@ -0,0 +1,14 @@
---
- name: Install windows agent
hosts: windows
tasks:
- name: Install agent
include_role:
name: sensu.sensu_go.agent
vars:
version: latest
agent_config:
name: win
backend-url:
- ws://192.168.50.91:8081