From c6f3b7f121c6b0bdb98754f0534a715ede20f646 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Mar 25 2022 15:14:15 +0000 Subject: Adding a note about how to remotely call ara/ansible for CI from now on Signed-off-by: Fabian Arrotin --- diff --git a/docs/operations/ci/adding_cico_tenant/adding_cico_tenants.md b/docs/operations/ci/adding_cico_tenant/adding_cico_tenants.md index 7a85efa..68a6cf6 100644 --- a/docs/operations/ci/adding_cico_tenant/adding_cico_tenants.md +++ b/docs/operations/ci/adding_cico_tenant/adding_cico_tenants.md @@ -54,27 +54,59 @@ ocp_projects_list: ``` -Once done, don't forget to commit/push and you can also play that role directly with a specific tag. +Once done, don't forget to commit/push and you can then apply remotely from central CI ansible node the role directly with a specific tag. ``` -ansible-playbook playbooks/role-ocp-admin-node.yml --tags "projects" +   ~  ansible  CentOS_CI  ./filestore/remote_ansible_call    +[+] 20220325-15:10 ansible-ara-run -> == Ansible Ara manual trigger == +Which ansible role you want to play ? (like haproxy, without -role) => ocp-admin-node +List of possible tags for role ocp-admin-node : + => TASK TAGS: [backup, certs, config, localstorage, projects, tls] +Do you want to call specific tag[s] and which one[s] ? (can be empty) => projects +Host/Group limits ? (default to whole group) => +[+] 20220325-15:11 ansible-ara-run -> Updating first inventory/pkistore/filestore +[+] 20220325-15:11 ansible-ara-run -> Checking role [ocp-admin-node] is present and up2date ... +[+] 20220325-15:11 ansible-ara-run -> Calling now ansible with ara reporting ... +[+] 20220325-15:11 ansible-ara-run -> ansible-playbook playbooks/role-ocp-admin-node.yml --tags projects -e ara_playbook_name=role-ocp-admin-node PLAY [hostgroup-role-ocp-admin-node] ***************************************************************************** TASK [ocp-admin-node : Rendering template for projects] ********************************************************** -Tuesday 21 December 2021 09:20:42 +0100 (0:00:00.116) 0:00:00.116 ****** +Friday 25 March 2022 15:11:08 +0000 (0:00:00.445) 0:00:00.445 ********** ok: [ocp-admin.ci.centos.org] => (item=ci-infra-test) -changed: [ocp-admin.ci.centos.org] => (item=samba) +ok: [ocp-admin.ci.centos.org] => (item=samba) +ok: [ocp-admin.ci.centos.org] => (item=hyperscale) +ok: [ocp-admin.ci.centos.org] => (item=networkmanager) +ok: [ocp-admin.ci.centos.org] => (item=gluster) +ok: [ocp-admin.ci.centos.org] => (item=pagure) +ok: [ocp-admin.ci.centos.org] => (item=sp-augur) TASK [ocp-admin-node : Creating/modifying project if needed] ***************************************************** -Tuesday 21 December 2021 09:20:47 +0100 (0:00:05.123) 0:00:05.240 ****** +Friday 25 March 2022 15:11:11 +0000 (0:00:02.892) 0:00:03.337 ********** skipping: [ocp-admin.ci.centos.org] => (item=ci-infra-test) -changed: [ocp-admin.ci.centos.org] => (item=samba) +skipping: [ocp-admin.ci.centos.org] => (item=samba) +skipping: [ocp-admin.ci.centos.org] => (item=hyperscale) +skipping: [ocp-admin.ci.centos.org] => (item=networkmanager) +skipping: [ocp-admin.ci.centos.org] => (item=gluster) +skipping: [ocp-admin.ci.centos.org] => (item=pagure) +skipping: [ocp-admin.ci.centos.org] => (item=sp-augur) + +TASK [ocp-admin-node : Deleting project[s] if needed] ************************************************************ +Friday 25 March 2022 15:11:12 +0000 (0:00:00.597) 0:00:03.935 ********** +ok: [ocp-admin.ci.centos.org] => (item=fedora-coreos) +ok: [ocp-admin.ci.centos.org] => (item=coreos-ci) PLAY RECAP ******************************************************************************************************* -ocp-admin.ci.centos.org : ok=2 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 +n4-136.cloud.ci.centos.org : ok=0 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +ocp-admin.ci.centos.org : ok=2 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + +Friday 25 March 2022 15:11:13 +0000 (0:00:01.320) 0:00:05.255 ********** +=============================================================================== +ocp-admin-node : Rendering template for projects --------------------------------------------------------- 2.89s +ocp-admin-node : Deleting project[s] if needed ------------------------------------------------------------ 1.32s +ocp-admin-node : Creating/modifying project if needed ----------------------------------------------------- 0.60s +Playbook run took 0 days, 0 hours, 0 minutes, 5 seconds -Tuesday 21 December 2021 09:20:48 +0100 (0:00:01.075) 0:00:06.316 ****** ``` !!! note