Skip to content

Commit 902d652

Browse files
committed
fix execution section to include hop and remote nodes
1 parent e8da764 commit 902d652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

olam/convert_ansible_inventory.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ echo "peers=local_execution_group"
3131
echo ""
3232

3333
echo "[execution]"
34-
grep "^olam-execution-" "$input_file" | sed -E "s/ (ansible_user=opc|ansible_private_key_file=[^ ]+|ansible_ssh_common_args='[^']+')//g" | awk '{print $1, $2, $3}' | sort
34+
grep -E "^olam-(execution|hop|remote-execution)-" "$input_file" | sed -E "s/ (ansible_user=opc|ansible_private_key_file=[^ ]+|ansible_ssh_common_args='[^']+')//g" | awk '{print $1, $2, $3}' | sort
3535
echo ""
3636

3737
echo "[local_execution_group]"

0 commit comments

Comments
 (0)