relvalconsumer: create directory for config file to go in
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
bf2b50d32c
commit
f9fc5f21eb
1 changed files with 11 additions and 0 deletions
|
@ -166,6 +166,17 @@
|
|||
tags:
|
||||
- config
|
||||
|
||||
- name: Create python-bugzilla configuration directory
|
||||
file:
|
||||
dest: /root/.config/python-bugzilla
|
||||
mode: 0700
|
||||
owner: root
|
||||
group: root
|
||||
state: directory
|
||||
when: "relvalconsumer_bugzilla_api_key is defined"
|
||||
tags:
|
||||
- config
|
||||
|
||||
- name: Write python-bugzilla configuration file
|
||||
template: src=bugzillarc.j2 dest=/root/.config/python-bugzilla/bugzillarc owner=root group=root mode=0600
|
||||
when: "relvalconsumer_bugzilla_api_key is defined"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue