Difference between revisions of "Get url"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | https://docs.ansible.com/ansible/latest/collections/ansible/builtin/get_url_module.html | ||
+ | |||
+ | - name: | ||
+ | ansible.builtin.get_url: | ||
+ | url: https://github.com/openssl/openssl/releases/download/openssl-3.2.1/[[openssl]]-3.2.1.tar.gz | ||
+ | dest: /tmp/ | ||
+ | |||
+ | |||
- name: Download foo.conf | - name: Download foo.conf | ||
[[ansible.builtin.get_url]]: | [[ansible.builtin.get_url]]: | ||
Line 5: | Line 13: | ||
mode: '0440' | mode: '0440' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | * [[Update deprecated openssl library from source code]] | ||
+ | * [[wget]], [[cURL]] | ||
Latest revision as of 12:53, 5 February 2024
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/get_url_module.html
- name: ansible.builtin.get_url: url: https://github.com/openssl/openssl/releases/download/openssl-3.2.1/openssl-3.2.1.tar.gz dest: /tmp/
- name: Download foo.conf ansible.builtin.get_url: url: http://example.com/path/file.conf dest: /etc/foo.conf mode: '0440'
See also[edit]
- 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: