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,520 points
51 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

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

answered Aug 16, 2018 by DareDev
• 6,520 points

Related Questions In Ansible

0 votes
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 in Ansible by Kim
37 views
+13 votes
2 answers
0 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,520 points
68 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,520 points
174 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.