Skip to content

Conversation

@hryamzik
Copy link
Contributor

  • replaced shell with modules
  • replaced fail-based checks with changing based ones
  • removed launchpad-ppa-webupd8 dependency – looks too complicated for such a simple role
  • cleaned up README
  • changed defaults to set java as default – I do hate changing default behaviour but hey, you expect role to install java in a useful way when applying role with no arguments!

@steenzout steenzout self-assigned this Mar 21, 2017
@steenzout
Copy link
Member

@hryamzik this is failing on travis:

TASK [oracle-java : Set license as accepted] ***********************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "debconf: DbDriver \"passwords\" warning: could not open /var/cache/debconf/passwords.dat: Permission denied\ndebconf: DbDriver \"config\": could not write /var/cache/debconf/config.dat-new: Permission denied\n"}

I'll test this on the vagrant boxes but it would be good if you could have a look.

usage of block makes the Ansible requirements be >= 2.x so the travis-ci tests should fail for 1.9 (and that's ok, I can update that part).

@hryamzik
Copy link
Contributor Author

Tests do not set become: yes on host level, what's the reason for that?

Ansible 2.x is out there for a while and brings us a lot of good stuff. Why support 1.9?

@steenzout
Copy link
Member

it's ok to drop ansible 1.9 support but there are several files that need to be updated.

I've fixed the other minor issues.

I never run a playbook with become: yes.
It has been some time but the ${USER} env variable might get set to something I don't want.
Maybe this ain't a problem for a test playbook and not for this role in particular but just to be safe I add become: yes for all tasks that really need root/sudo privileges.
I've fixed this as well.

@steenzout steenzout mentioned this pull request Mar 22, 2017
@steenzout
Copy link
Member

continued on #33 ...

@steenzout steenzout closed this Mar 22, 2017
steenzout added a commit that referenced this pull request Mar 22, 2017
@steenzout steenzout added this to the 5.14.0 milestone Mar 22, 2017
@steenzout
Copy link
Member

@hryamzik
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants