From 975f4b6ee5be119b2281a6f15f3cae1b72827661 Mon Sep 17 00:00:00 2001 From: "jasonpage.tas" Date: Mon, 19 Aug 2024 12:41:08 +0930 Subject: [PATCH] chore(inventory): Apply suggested fixes from code review Name changes Description changes linking issue to edited out task #17 #13 --- playbooks/inventory.yaml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/playbooks/inventory.yaml b/playbooks/inventory.yaml index a935c9c..24a965f 100644 --- a/playbooks/inventory.yaml +++ b/playbooks/inventory.yaml @@ -14,7 +14,7 @@ - name: Inventory host block: - - name: Test Packages + - name: fetch Packages ansible.builtin.package_facts: manager: auto become: true @@ -45,6 +45,9 @@ when: > package.value[0].name | regex_search("^[a-k]") +# https://github.com/nofusscomputing/ansible_collection_centurion/issues/19 + +# This teask has been commented out due to the above issue # - name: Inventory Software [l] # ansible.builtin.set_fact: @@ -135,20 +138,20 @@ ask_credential_on_launch: true ask_limit_on_launch: true concurrent_jobs_enabled: true - description: Collect inventory of host machines and publish to centurion_erp + description: Inventory host machines and publish to Centurion ERP execution_environment: "No Fuss Computing EE" job_type: "run" # job_tags: complete labels: - - itsm - - itam - - inventory - centurion + - inventory + - itam + - itsm use_fact_cache: true credential_types: - - name: 'Playbook/Inventory/Centurion' + - name: 'Collection/No Fuss Computing/Centurion/API' description: | - Credentials for authentication to Centurion_erp + Credentials for authentication to Centurion ERP inputs: | fields: - id: centurion_url @@ -169,4 +172,5 @@ env: CENTURION_API: '{{ centurion_url }}' CENTURION_TOKEN: '{{ centurion_token }}' - CENTURION_VALIDATE_CERTS: '{{ centurion_validate_certs | default(true) }}' \ No newline at end of file + CENTURION_VALIDATE_CERTS: '{{ centurion_validate_certs | default(true) }}' + \ No newline at end of file