deploy rocky branding #2

Merged
raktajino merged 1 commits from tcooper/ansible-openqa-management:add_branding into main 2023-03-17 06:09:18 +00:00
Contributor

Add Rocky Linux branding to openqa-webui.

Sample Run in development host

[root@openqa-dev ansible-openqa-management]# ansible-playbook --connection local --skip-tags download_isos,post init-rocky-openqa-developer-host.yml
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
[WARNING]: file /root/ansible/ansible-openqa-management/handlers/main.yml is empty and had no tasks to include

PLAY [Rocky OpenQA Runbook] ***************************************************************************************************

TASK [Gathering Facts] ********************************************************************************************************
ok: [localhost]

TASK [Check if ansible cannot be run here] ************************************************************************************
ok: [localhost]

TASK [Verify if we can run ansible] *******************************************************************************************
ok: [localhost] => {
    "changed": false,
    "msg": "We are able to run on this node"
}

TASK [Install OpenQA packages] ************************************************************************************************
ok: [localhost]

TASK [Copy httpd configuration files] *****************************************************************************************
ok: [localhost] => (item=openqa.conf)
ok: [localhost] => (item=openqa-ssl.conf)

TASK [Template OpenQA configuration files] ************************************************************************************
changed: [localhost] => (item=openqa.ini)
ok: [localhost] => (item=client.conf)

TASK [Get service facts] ******************************************************************************************************
ok: [localhost]

TASK [Check for non-empty postgres data directory] ****************************************************************************
ok: [localhost]

TASK [If postgresql is not already running, initialize database] **************************************************************
skipping: [localhost]

TASK [Enable and start postgresql service] ************************************************************************************
skipping: [localhost]

TASK [Configure SELinux to allow httpd connection to network] *****************************************************************
ok: [localhost]

TASK [Enable and start OpenQA services] ***************************************************************************************
ok: [localhost] => (item=sshd)
ok: [localhost] => (item=httpd)
ok: [localhost] => (item=openqa-gru)
ok: [localhost] => (item=openqa-scheduler)
ok: [localhost] => (item=openqa-websockets)
ok: [localhost] => (item=openqa-webui)
changed: [localhost] => (item=fm-consumer@fedora_openqa_scheduler)

TASK [Create openqa-vnc firewalld service] ************************************************************************************
ok: [localhost]

TASK [Load openqa-vnc firewalld service] **************************************************************************************
changed: [localhost]

TASK [Permit traffic for {{ item }} service] **********************************************************************************
ok: [localhost] => (item=http)
ok: [localhost] => (item=openqa-vnc)

TASK [Reload FirewallD] *******************************************************************************************************
changed: [localhost]

TASK [Check for existing repository] ******************************************************************************************
ok: [localhost]

TASK [Clone repository if it does not already exist] **************************************************************************
skipping: [localhost]

TASK [Set owner/group/permissions on repo contents] ***************************************************************************
ok: [localhost]

TASK [Authenticate to web UI the first time] **********************************************************************************
ok: [localhost]

TASK [Run fifloader.py] *******************************************************************************************************
ok: [localhost]

TASK [Start 2 OpenQA workers] *************************************************************************************************
ok: [localhost] => (item=1)
ok: [localhost] => (item=2)

TASK [POST a job] *************************************************************************************************************
ok: [localhost]

TASK [Copy assets hierarchy] **************************************************************************************************
changed: [localhost]

TASK [Copy templates hierarchy] ***********************************************************************************************
changed: [localhost]

TASK [Apply patches to specific assets, template and config files] ************************************************************
changed: [localhost] => (item={'path': '/usr/share/openqa/assets/assetpack.def', 'patch': '/usr/share/openqa/assets/assetpack.def.patch'})
changed: [localhost] => (item={'path': '/usr/share/openqa/templates/webapi/main/index.html.ep', 'patch': '/usr/share/openqa/templates/webapi/main/index.html.ep.patch'})

TASK [Restart openqa-webui service] *******************************************************************************************
changed: [localhost]

TASK [Touching run file that ansible has ran here] ****************************************************************************
changed: [localhost]

PLAY RECAP ********************************************************************************************************************
localhost                  : ok=25   changed=9    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0
Add Rocky Linux branding to openqa-webui. ### Sample Run in development host ``` [root@openqa-dev ansible-openqa-management]# ansible-playbook --connection local --skip-tags download_isos,post init-rocky-openqa-developer-host.yml [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' [WARNING]: file /root/ansible/ansible-openqa-management/handlers/main.yml is empty and had no tasks to include PLAY [Rocky OpenQA Runbook] *************************************************************************************************** TASK [Gathering Facts] ******************************************************************************************************** ok: [localhost] TASK [Check if ansible cannot be run here] ************************************************************************************ ok: [localhost] TASK [Verify if we can run ansible] ******************************************************************************************* ok: [localhost] => { "changed": false, "msg": "We are able to run on this node" } TASK [Install OpenQA packages] ************************************************************************************************ ok: [localhost] TASK [Copy httpd configuration files] ***************************************************************************************** ok: [localhost] => (item=openqa.conf) ok: [localhost] => (item=openqa-ssl.conf) TASK [Template OpenQA configuration files] ************************************************************************************ changed: [localhost] => (item=openqa.ini) ok: [localhost] => (item=client.conf) TASK [Get service facts] ****************************************************************************************************** ok: [localhost] TASK [Check for non-empty postgres data directory] **************************************************************************** ok: [localhost] TASK [If postgresql is not already running, initialize database] ************************************************************** skipping: [localhost] TASK [Enable and start postgresql service] ************************************************************************************ skipping: [localhost] TASK [Configure SELinux to allow httpd connection to network] ***************************************************************** ok: [localhost] TASK [Enable and start OpenQA services] *************************************************************************************** ok: [localhost] => (item=sshd) ok: [localhost] => (item=httpd) ok: [localhost] => (item=openqa-gru) ok: [localhost] => (item=openqa-scheduler) ok: [localhost] => (item=openqa-websockets) ok: [localhost] => (item=openqa-webui) changed: [localhost] => (item=fm-consumer@fedora_openqa_scheduler) TASK [Create openqa-vnc firewalld service] ************************************************************************************ ok: [localhost] TASK [Load openqa-vnc firewalld service] ************************************************************************************** changed: [localhost] TASK [Permit traffic for {{ item }} service] ********************************************************************************** ok: [localhost] => (item=http) ok: [localhost] => (item=openqa-vnc) TASK [Reload FirewallD] ******************************************************************************************************* changed: [localhost] TASK [Check for existing repository] ****************************************************************************************** ok: [localhost] TASK [Clone repository if it does not already exist] ************************************************************************** skipping: [localhost] TASK [Set owner/group/permissions on repo contents] *************************************************************************** ok: [localhost] TASK [Authenticate to web UI the first time] ********************************************************************************** ok: [localhost] TASK [Run fifloader.py] ******************************************************************************************************* ok: [localhost] TASK [Start 2 OpenQA workers] ************************************************************************************************* ok: [localhost] => (item=1) ok: [localhost] => (item=2) TASK [POST a job] ************************************************************************************************************* ok: [localhost] TASK [Copy assets hierarchy] ************************************************************************************************** changed: [localhost] TASK [Copy templates hierarchy] *********************************************************************************************** changed: [localhost] TASK [Apply patches to specific assets, template and config files] ************************************************************ changed: [localhost] => (item={'path': '/usr/share/openqa/assets/assetpack.def', 'patch': '/usr/share/openqa/assets/assetpack.def.patch'}) changed: [localhost] => (item={'path': '/usr/share/openqa/templates/webapi/main/index.html.ep', 'patch': '/usr/share/openqa/templates/webapi/main/index.html.ep.patch'}) TASK [Restart openqa-webui service] ******************************************************************************************* changed: [localhost] TASK [Touching run file that ansible has ran here] **************************************************************************** changed: [localhost] PLAY RECAP ******************************************************************************************************************** localhost : ok=25 changed=9 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 ```
tcooper added 1 commit 2023-02-26 08:27:36 +00:00
tcooper requested review from raktajino 2023-02-26 08:28:38 +00:00
Collaborator

Looking great so far!

Looking great so far!
tcooper changed title from WIP: deploy rocky branding to deploy rocky branding 2023-03-02 23:17:06 +00:00
Collaborator

Approved; changes work as expected on a fresh openqa install. Nice work!

Approved; changes work as expected on a fresh openqa install. Nice work!
raktajino merged commit f65755a31a into main 2023-03-17 06:09:18 +00:00
tcooper deleted branch add_branding 2023-05-03 15:12:32 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/ansible-openqa-management#2
No description provided.