-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
Issue with exporting and the yq command at end of the role.
Issue Type
- Bug Report
Ansible, Collection, Controller details
ansible-galaxy collection list
aap_utilities 3.0.1
yq==3.4.3
AAP 2.5
- ansible installation method: one of source, pip, OS package, EE
pip
## OS / ENVIRONMENT
<!--- Provide all relevant information below, e.g. target OS versions, network device firmware, etc. -->
## Desired Behavior
the export completes.
## Actual Behavior
<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->
Please give some details of what is actually happening.
Include a [minimum complete verifiable example] with:
Playbook:
---
- hosts: all
connection: local
gather_facts: false
vars:
input_tag:
- controller_credentials
- controller_execution_environments
- controller_groups
- controller_hosts
- controller_inventories
- controller_inventory_sources
- controller_job_templates
- controller_notification_templates
- controller_organizations
- controller_projects
- controller_workflow_job_templates
- controller_applications
- controller_labels
- controller_schedules
aap_validate_certs: false
query_controller_api_max_objects: 150000
roles:
- infra.aap_configuration_extended.filetree_create
<!--- Paste verbatim command output between triple backticks -->
```console (error)
failed: [localhost] (item=/tmp/filetree_output/controller_execution_environments.yaml) => {"_current_file": {"atime": 1759944272.3376234, "ctime": 1759870728.2941716, "dev": 64768, "gid": 1044, "gr_name": "ssulliv45", "inode": 134706115, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1759870727.6751635, "nlink": 1, "path": "/tmp/filetree_output/controller_execution_environments.yaml", "pw_name": "ssulliv45", "rgrp": true, "roth": true, "rusr": true, "size": 982, "uid": 1043, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}, "ansible_loop_var": "_current_file", "changed": true, "cmd": "/usr/bin/env yq -i -y -P '/tmp/filetree_output/controller_execution_environments.yaml' && echo '...' >> '/tmp/filetree_output/controller_execution_environments.yaml'", "delta": "0:00:00.163250", "end": "2025-10-08 13:27:21.634099", "msg": "non-zero return code", "rc": 1, "start": "2025-10-08 13:27:21.470849", "stderr": "yq: -i/--in-place can only be used with filename arguments, not on standard input", "stderr_lines": ["yq: -i/--in-place can only be used with filename arguments, not on standard input"], "stdout": "", "stdout_lines": []}
STEPS TO REPRODUCE
errors every time. every time.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working