Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible generating various minor warnings and isn't fully idempotent #1

Open
robmccardle opened this issue Aug 25, 2016 · 0 comments
Open

Comments

@robmccardle
Copy link
Contributor

Ansible generating various minor warnings and isn't fully idempotent

Type

  • Feature Request

Environment

  • Operating System: Ubuntu trusty64 VM (Vagrant local on Mac and in Travis container)
  • Node version: n/a
  • NPM version: n/a
  • Version / Commit hash: 7af8e02

Expected behaviour

No warnings should be generated by Ansible. Idempotency test should pass on Travis.

Actual behaviour

provision.yml playbook passes lint but generates various warnings. We need to fix:

  • Warnings related to impending breaking changes to ansible's API where become replaces sudo:

TASK [acl : Re-mount /] ********************************************************
changed: [vagrant_trusty]
[WARNING]: Consider using 'become', 'become_method', and 'become_user' rather
than running sudo

  • Warnings related to usage of curl which should be replaced with get_url module
  • Warnings related to usage of shell directly
  • Warnings related to lack of idempotency

Notes

We need to fix these and then reinstate the Travis idempotency test which is commented out in .travis.yml

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

No branches or pull requests

1 participant