Hi every one in the group :)
I m traying to deploye pmm-client on my machine using this play book
---
> - hosts: all
> become: yes
> vars:
> pmm_client_install: true
> pmm_client_enabled: true
> pmm_client_server_host: *.*.*.*
> pmm_client_server_port: 80
> # If the PMM Server is using basic auth:
> # Type: Bool
> pmm_client_server_basic_auth: true
> # Type: Str
> pmm_client_server_basic_auth_username:***
pmm_client_server_basic_auth_password: ******
> pmm_client_server_use_ssl: false
> pmm_client_force_setup: true
> pmm_client_add_services:
> - mongodb
> pmm_client_start_services:
> - mongodb
> pmm_client_db:
> mongodb:
> host: ip-of-machine
> port: port-of-machine
> clustername: Prod-Data
> roles:
> - timorunge.pmm_client
>
# vim:ft=ansible:
In my /etc/ansible/hosts I have added just one machine (host)
when I execute the commande ansible-playbook name-of-playbook.yml
I have this problem
FAILED! => {"msg": "The task includes an option with an undefined
> variable. The error was: 'dict object' has no attribute 'username'\n\nThe
> error appears to be in
> '/home/ops/.ansible/roles/timorunge.pmm_client/tasks/client-services.yml':
> line 41, column 3, but may\nbe elsewhere in the file depending on the exact
> syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Adding
> MongoDB services to monitoring\n ^ here\n"}
Please If any one can help ?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/6fa3ff9f-e142-45af-8ccc-42de8cb5ce54%40googlegroups.com.