����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
---
- name: Start sensu-backend
service:
name: sensu-backend
state: started
enabled: true
- name: Check for sensu-backend init command
command:
cmd: sensu-backend init -h
register: init_command_test
failed_when: false # Never fail, we just want to know if init exists.
changed_when: false # Displaying help is read-only operation.
check_mode: false # We do not modify the system, so we can always run
- name: Initialize backend
command:
cmd: sensu-backend init
environment:
SENSU_BACKEND_CLUSTER_ADMIN_USERNAME: "{{ cluster_admin_username }}"
SENSU_BACKEND_CLUSTER_ADMIN_PASSWORD: "{{ cluster_admin_password }}"
when: init_command_test.rc == 0
register: init_command
failed_when: init_command.rc not in (0, 3) # 0 - OK, 3 - already initialized
changed_when: init_command.rc == 0
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| configure.yml | File | 2.16 KB | 0644 |
|
| main.yml | File | 365 B | 0644 |
|
| start.yml | File | 837 B | 0644 |
|