81816/how-to-use-an-url-in-ansible-playbook
Hi Guys,
I have created one ansible-playbook. I want to use one URL in this playbook. How can I do that?
Hi@akhtar,
You can use the get_url module in Ansible. This module is used to download files using URL as shown below.
- name: Copy web page from URL get_url: dest: "/var/www/nadim" url: "https://raw.githubusercontent.com/nadim70/webserver/master/index.html" when: y.failed == false tags: web1
Add both your static and dynamic inventories ...READ MORE
Hi@akhtar, You can find one module in ansible ...READ MORE
Hi@akhtar, Sometimes it is required to encrypt the ...READ MORE
Hi@akhtar, Ansible has one module to copy AMI ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
Hi@akhtar, Traditional programming language usually uses the if-else ...READ MORE
Hi@akhtar, Sometimes you want to repeat a task ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.