Skip to content

Commit

Permalink
fix: use include_tasks instead of include
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Jan 12, 2022
1 parent 3777750 commit 2a1dd6b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
# [rolehippie.docker](https://github.com/rolehippie/docker)
# @end
galaxy_info:
role_name: prometheus
namespace: rolehippie
author: Thomas Boerger
description: Ansible role to install and configure Prometheus
license: Apache-2.0
Expand Down
5 changes: 5 additions & 0 deletions molecule/ubuntu/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,9 @@
apt:
update_cache: True

- name: Install gpg dependency
apt:
name: python3-gpg
state: present

...
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@

- name: Include oauth2 tasks
when: prometheus_oauth2_enabled | default(False)
include: oauth2.yml
include_tasks: oauth2.yml
tags:
- prometheus
- oauth2
Expand Down

0 comments on commit 2a1dd6b

Please sign in to comment.