Error updating rsyslog using ansible

0 votes

I want to update my prodcution systems running rsyslog v7.4.4 to v8.36 which is latest. Here http://www.rsyslog.com/ubuntu-repository/ I've followed the 3 steps

sudo add-apt-repository ppa:adiscon/v8-stable 

Then press enter and

sudo apt-get update
sudo apt-get install rsyslog

so i wrote the following tasks in playbooks as:

- name: Updating rsyslog from 7.4.4 to v-8 stable| Adding PPA 
  apt_repository:
    repo='ppa:adiscon/v8-stable'
    state=present
    update_cache=yes

- name: Running Updates
  apt: update_cache=yes

- name: Install rsyslog (v-8)
  apt: name=rsyslog 
       state=present 
       update_cache=yes

after the first task ansible it stops there, I'm guessing because it expects enter. What do I do?

Aug 16, 2018 in Ansible by DareDev
• 6,890 points
831 views

1 answer to this question.

0 votes

apparently my proxy server was blocking the traffic. It's fixed now.

answered Aug 17, 2018 by DareDev
• 6,890 points

Related Questions In Ansible

+1 vote
3 answers
0 votes
1 answer
0 votes
1 answer

Syntax error while using block in ansible role

block should be on the same indentation level ...READ MORE

answered Mar 13, 2019 in Ansible by Kim
4,512 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,062 views
+2 votes
1 answer
0 votes
1 answer

How can I create a new user using ansible ploybook?

You're switching from the root user. Root ...READ MORE

answered Mar 29, 2018 in Ansible by DareDev
• 6,890 points
919 views
0 votes
1 answer

Using multiple config files using same template in a role in ansible

Go through this include_role module: tasks: - ...READ MORE

answered Jun 5, 2018 in Ansible by DareDev
• 6,890 points
4,244 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