We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8da764 commit 902d652Copy full SHA for 902d652
olam/convert_ansible_inventory.sh
@@ -31,7 +31,7 @@ echo "peers=local_execution_group"
31
echo ""
32
33
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
+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
35
36
37
echo "[local_execution_group]"
0 commit comments