Skip to content

Commit

Permalink
Merge pull request #4 from weakcamel/replace_includes
Browse files Browse the repository at this point in the history
replace include with import_tasks
  • Loading branch information
weakcamel authored Nov 10, 2022
2 parents 1134344 + 0c2098e commit 4ed7f95
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
galaxy_info:
author: Waldek Maleska
role_name: loki
namespace: weakcamel
description: Deploy and configure Loki and Promtail.
issue_tracker_url: https://github.com/weakcamel/ansible-role-loki/issues
license: WTFPL
Expand Down
9 changes: 6 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
---
- include: preflight.yml
- name: Pre-flight tasks
import_tasks: preflight.yml
tags:
- loki_pre_install

- include: install.yml
- name: Installation tasks
import_tasks: install.yml
become: true
tags:
- loki_configure

- include: configure.yml
- name: Configuration tasks
import_tasks: configure.yml
become: true
tags:
- loki_configure

0 comments on commit 4ed7f95

Please sign in to comment.