Refactor ansible inventory path and update output in get-host-info action.yml
This commit is contained in:
@@ -28,4 +28,4 @@ runs:
|
||||
TARGET_HOST: ${{ inputs.target-host }}
|
||||
run: |
|
||||
system_id=$(ansible -i ansible/inventory/hosts -b -u $ANSIBLE_USER -m shell -a "read_system_id" $TARGET_HOST | tail -1)
|
||||
echo "::set-output name=system-id::$system_id"
|
||||
echo "system-id=$system_id" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user