Comments (3)
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the component bot command.
from ansible.
I'm not sure this is a bug, though the error message could be clearer.
The archive you have asked it to extract does not have a file named typst
in it, resulting in Command \"/usr/bin/tar\" could not handle archive: Unable to list files in the archive: /usr/bin/tar: typst: Not found in archive
amongst the other error output. It works fine if you specify a file that actually exists in the archive.
$ ansible localhost -m unarchive -a "src=https://github.com/typst/typst/releases/download/v0.11.1/typst-x86_64-unknown-linux-musl.tar.xz dest=/var/tmp remote_src=true include=typst-x86_64-unknown-linux-musl/typst"
localhost | CHANGED =>
changed: true
dest: /var/tmp
extract_results:
cmd:
- /bin/gtar
- --extract
- -C
- /var/tmp
- -f
- /home/ec2-user/.ansible/tmp/ansible-tmp-1718565325.7776275-822467-258530255057042/typst-x86_64-unknown-linux-muslp4qg0meu.tar.xz
- typst-x86_64-unknown-linux-musl/typst
err: ''
out: ''
rc: 0
gid: 0
group: root
handler: TarArchive
mode: '01777'
owner: root
size: 4096
src: /home/ec2-user/.ansible/tmp/ansible-tmp-1718565325.7776275-822467-258530255057042/typst-x86_64-unknown-linux-muslp4qg0meu.tar.xz
state: directory
uid: 0
from ansible.
@flowerysong Thank you for the quick reply. Yes, this was an error on my behalf, I'm sorry.
I did not recognize that the archive contained a directory.
from ansible.
Related Issues (20)
- Warnings about discovered Python interpreter on any play in version 2.17.0 HOT 3
- Regression with ansible_pkg_mgr discovery on Amazon Linux 2 HOT 9
- `file`: incomplete diff when creating parent directories HOT 1
- `file`: incomplete/misleading/missing diff when recursively setting attributes HOT 1
- systemd module silently fails to enable generated serviced unit HOT 9
- Add ability to break out of loop on a task HOT 2
- This breaks the ability to update RHEL-7 machines HOT 2
- `meta: end_host` returns `rc=2` when run in a rescue block HOT 1
- ansible.builtin.tempfile state:absent error HOT 5
- File descriptor leak in lib/ansible/plugins/connection/ssh.py HOT 3
- ansible.builtin.get_url doesn't support redirects HOT 3
- service_facts module on OpenBSD does not support '=' within service variables (too many values to unpack (expected 2)) HOT 2
- remote_user used with a loop results in fatal "item is undefined" HOT 4
- ansible_python_interpreter="/usr/bin/env python3" doesn't work anymore HOT 11
- User module trying to modify permissions in home directory after GID change (even when setting home: false) HOT 4
- Handlers use only last role variable when flushed in multiple role executions. HOT 9
- Ansible lint incompatible with yamllint max line-length HOT 2
- nmcli "invalid or not allowed setting 'ipv4'" when running the playbook the 2nd time HOT 1
- Applying module defaults groups on an action group containing deprecated modules trigger the deprecation notice of the said module, although it is never actually used HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible.