fix(packer): Naming
[csit.git] / resources / libraries / bash / function / ansible.sh
index 64508bd..a46c782 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2023 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -28,7 +28,7 @@ function ansible_adhoc () {
     set -exuo pipefail
 
     case "$FLAVOR" in
-        "aws")
+        "aws" | "c6in" | "c6gn")
             INVENTORY_PATH="cloud_inventory"
             ;;
         *)
@@ -70,7 +70,7 @@ function ansible_playbook () {
     set -exuo pipefail
 
     case "$FLAVOR" in
-        "aws")
+        "aws" | "c6in" | "c6gn")
             INVENTORY_PATH="cloud_inventory"
             ;;
         *)