diff --git a/ansible/inventories/production/hosts.ini b/ansible/inventories/production/hosts.ini index 0d3fe9a..5d52418 100644 --- a/ansible/inventories/production/hosts.ini +++ b/ansible/inventories/production/hosts.ini @@ -104,3 +104,6 @@ matterbridge.rockylinux.org ansible_host=10.100.xx.xx [matomo] matomo.rockylinux.org ansible_host=10.100.xx.xx + +[bugtracker] +bugs.rockylinux.org ansible_host=10.100.xx.xx diff --git a/ansible/playbooks/init-rocky-bugzilla.yml b/ansible/playbooks/init-rocky-bugzilla.yml index dae4b5a..ce73147 100644 --- a/ansible/playbooks/init-rocky-bugzilla.yml +++ b/ansible/playbooks/init-rocky-bugzilla.yml @@ -1,7 +1,7 @@ --- # Installs the mantis bug tracker - name: Configure MantisBT - hosts: "{{ host }}" + hosts: "bugtracker" become: true handlers: diff --git a/ansible/playbooks/tasks/noggin.yml b/ansible/playbooks/tasks/noggin.yml index 938ab46..759eb2d 100644 --- a/ansible/playbooks/tasks/noggin.yml +++ b/ansible/playbooks/tasks/noggin.yml @@ -77,3 +77,9 @@ owner: noggin group: noggin mode: '0600' + +# The only way to run it properly, at least on EL8, is we need this line +- name: Add missing create_app call + lineinfile: + path: "/opt/noggin/noggin/noggin/app.py" + line: "app = create_app()"