Ansible playbook to check if http support for apt is installed

0 votes
I need a workaround to check if http support for apt is installed or not. How do I do that?
Nov 25, 2019 in Ansible by Hannah
• 18,520 points
1,035 views

1 answer to this question.

0 votes

Hi @Hannah, this ansible task should do your job:

 - name: Ensure https support for apt is installed
    apt: 
      state=present
      pkg=apt-transport-https
answered Nov 25, 2019 by Aria

Related Questions In Ansible

0 votes
1 answer

Ansible task to check if PGP key is installed on Ubuntu

Hi @hannah, have a look at this, ...READ MORE

answered Nov 25, 2019 in Ansible by Aria
1,111 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

Is it possible to run an Ansible Playbook in python script?

Hey @Cerci, Of course its possible. You ...READ MORE

answered Jan 17, 2019 in Ansible by Nicolas
15,660 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,024 views
+2 votes
1 answer
0 votes
1 answer

Ansible playbook for moving files from one node to another remote node

The best way to do this is: copy ...READ MORE

answered Jan 16, 2019 in Ansible by Nigya

edited Jan 18, 2019 by Vardhan 9,542 views
+1 vote
1 answer

Is it possible to append a large amount of text to a file using Ansible?

Here is concept which you can follow. blockinfile is ...READ MORE

answered Jul 30, 2018 in Ansible by Atul
• 10,240 points
14,662 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP