Re: [ansible-project] {"changed": false} on apt install, but install works fine when SSH'd in manually.

2014-06-19 Thread Patrick S
Indeed it is a typo- sorry. I've been trying both to see if there was any difference- however it occurs for both. On Thursday, 19 June 2014 16:27:25 UTC+1, Scott Sturdivant wrote: > > Well, for starters, you're talking about installing openjdk-7, but your > playbook is targeting openjdk-6... Ty

Re: [ansible-project] {"changed": false} on apt install, but install works fine when SSH'd in manually.

2014-06-19 Thread Scott Sturdivant
Well, for starters, you're talking about installing openjdk-7, but your playbook is targeting openjdk-6... Typo? On Thu, Jun 19, 2014 at 9:05 AM, Patrick S wrote: > Hi, > > I'm trying to install openjdk-7-jdk on Ubuntu 14.04, however I'm running > into a problem: > > When I run my playbook: >

[ansible-project] {"changed": false} on apt install, but install works fine when SSH'd in manually.

2014-06-19 Thread Patrick S
Hi, I'm trying to install openjdk-7-jdk on Ubuntu 14.04, however I'm running into a problem: When I run my playbook: - name: Install Java 6 sudo: yes apt: name=openjdk-6-jdk state=latest install_recommends=no I get: {"changed": false} Now if I SSH into my Vagrant box and do the usual sudo