Thank you! That did it!
On Friday, January 13, 2017 at 9:28:12 AM UTC-6, Kai Stian Olstad wrote:
>
> On 09. des. 2016 17:41, adam.fr...@gmail.com wrote:
> > I am attempting to perform the follow in order to only upgrade ubuntu
> > security updates...
> >
> > apt: upgrade=yes
Any help on this? This is still an issue. It appears the module ignores
any other source files I have and just uses sources.list. Any suggestions?
On Friday, December 9, 2016 at 10:41:54 AM UTC-6, adam.fr...@gmail.com
wrote:
>
> I am attempting to perform the follow in order to only upgrade
I am attempting to perform the follow in order to only upgrade ubuntu
security updates...
apt: upgrade=yes update_cache=yes
dpkg_options='Dir::Etc::SourceList=/etc/apt/security.sources.list'
and I receive the following error message...
FAILED! => {"changed": false, "failed": true, "msg":
I understand the functionality of lineinfile a bit better now and solved
this with...
- name: uncomment a line
lineinfile: backup=yes state=present dest=/etc/ssh/sshd_config
regexp='^#?Banner' line='Banner /etc/issue.net'
Also, it appears I can utilize the original regexp with a
I have the following in a playbook to uncomment a line. The first time I
run it everything works fine. If I run it again it inserts a "Banner
/etc/issue.net" at the EOF. Is there a better way to do this?
- name: uncomment a line
lineinfile: backup=yes state=present