diff --git a/roles/relvalconsumer/tasks/main.yml b/roles/relvalconsumer/tasks/main.yml index 66e898a5e8..a8e924eb5e 100644 --- a/roles/relvalconsumer/tasks/main.yml +++ b/roles/relvalconsumer/tasks/main.yml @@ -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"