我的生产系统运行在过时的rsyslog版本7.4.4上,因此我需要使用最新的v-8版本进行更新,因为在http://www.rsyslog.com/ubuntu-repository/中只需要做3件事
1. sudo add-apt-repository ppa:adiscon/v8-stable {在此步骤之后,它要求按回车。
2. sudo apt-get update
3. sudo apt-get install rsyslog因此,我在剧本中写了以下任务:
- 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在第一个任务中,Ansible{将rsyslog从7.4.4更新到v-8,添加PPA},只需在那里静坐/挂起。我猜是因为它期望{ENTER}
我该怎么办?
发布于 2016-09-19 15:15:44
我想出来了-我的代理服务器不允许这种流量!
https://stackoverflow.com/questions/33252538
复制相似问题