Commit 5cd44bb0 authored by Adam Robinson's avatar Adam Robinson
Browse files

add configuring vpxa and hostd log level

parent 01d30b40
......@@ -3,4 +3,6 @@
vmware_user: "{{ lookup('env','VMWARE_USER') }}"
vmware_password: "{{ lookup('env','VMWARE_PASSWORD') }}"
configure_remote_syslog: no
configure_syslog_filters: no
\ No newline at end of file
configure_syslog_filters: no
hostd_log_level: info
vpxa_log_level: verbose
\ No newline at end of file
---
# tasks file for configure_vmware_syslog
- name: Set log level for hostd
vmware_host_config_manager:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
username: '{{ vmware_user }}'
password: '{{ vmware_password }}'
options:
'config.HostAgent.log.level': '{{ hostd_log_level }}'
delegate_to: localhost
- name: Set log level for vpxa
vmware_host_config_manager:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
username: '{{ vmware_user }}'
password: '{{ vmware_password }}'
options:
'Vpx.Vpxa.config.log.level': '{{ vpxa_log_level }}'
delegate_to: localhost
- name: Get the current state of all services
vmware_host_service_facts:
hostname: '{{ vcenter_hostname }}'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment