Skip to content
This repository was archived by the owner on May 31, 2023. It is now read-only.

Commit d424268

Browse files
jdbaldrypaulfantom
authored andcommitted
Add become:yes to allow this module to be used in include_role task (#97)
Use become:true in main.yml as all install and configure tasks require it
1 parent 3bbaab8 commit d424268

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tasks/configure.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
file:
44
path: "{{ item }}"
55
state: directory
6+
owner: root
7+
group: grafana
68
with_items:
79
- "/etc/grafana"
810
- "/etc/grafana/datasources"

tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
- always
1616

1717
- include: install.yml
18+
become: true
1819
tags:
1920
- install
2021

2122
- include: configure.yml
23+
become: true
2224
tags:
2325
- configure
2426

0 commit comments

Comments
 (0)