Difference between revisions of "Ansible.builtin.unarchive"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/unarchive_module.html | https://docs.ansible.com/ansible/latest/collections/ansible/builtin/unarchive_module.html | ||
+ | |||
+ | - name: Unarchive a file that needs to be downloaded (added in 2.0) | ||
+ | ansible.builtin.unarchive: | ||
+ | src: https://example.com/example.zip | ||
+ | dest: /usr/local/bin | ||
+ | remote_src: yes | ||
{{Ansible}} | {{Ansible}} |
Latest revision as of 13:00, 5 February 2024
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/unarchive_module.html
- name: Unarchive a file that needs to be downloaded (added in 2.0) ansible.builtin.unarchive: src: https://example.com/example.zip dest: /usr/local/bin remote_src: yes
Ansible: modules, plugins, Playbooks (examples) ansible-playbook
, ansible-vault
, ansible-inventory
, ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
), ansible-cmdb
, gather facts
, ansible.cfg
, Ansible Molecule
, Ansible collections, register
, template
, --ask-pass
, --ask-become-pass
, remote_user:
, /etc/ansible/hosts
, ansible-doc
, ansible-lint
, .ansible/
, --forks
, --start-at-task
, changelog
, inventory
, Notify:
, ansible HOSTNAME -m ping
, gathering
, /usr/bin/ansible
, ansible -m ping
, ansible.builtin
, hosts: (Ansible)
, set fact:
, when:
, blockinfile:
, become method:
, include:
, git:
, AWX, ansible --help
, Tags, Ansible variables, versions
Advertising: