Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TemplateAssertionError, not sure what happens #3

Closed
ghost opened this issue Sep 13, 2015 · 2 comments
Closed

TemplateAssertionError, not sure what happens #3

ghost opened this issue Sep 13, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 13, 2015

I met this error, but I can not figure out what happens, could you please help check?

TASK: [grafana | Configure Grafana] *******************************************
fatal: [grafana02.rti.iot] => {'msg': "TemplateAssertionError: no test named 'mapping'", 'failed': True}
fatal: [grafana02.rti.iot] => {'msg': "TemplateAssertionError: no test named 'mapping'", 'failed': True}

the site.yml should be:

  • hosts: monitorserver
    roles:
    • role: yumrepo

      Configure the grafana YUM repo

      yumrepo_repos:
      grafana:
      name: Grafana repo
      baseurl: https://packagecloud.io/grafana/stable/el/6/x86_64
      gpgcheck: 0
    • role: grafana

      Allow grafana to bind to TCP port <1024

      grafana_allow_low_port: false

      Changing port nunmber from the default 3000 to 80

      grafana_server_http_port: 3000
@jtyr
Copy link
Contributor

jtyr commented Sep 13, 2015

The same error was reported here:
picotrading/config-encoder-macros#1

Please update your jinja2 and the problem should disappear.

@ghost
Copy link
Author

ghost commented Sep 13, 2015

it works!! thanks a lot for your quick response

@ghost ghost closed this as completed Sep 13, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant