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

Update neutron-service-ml2-plugin playbook #6

Open
wants to merge 1 commit into
base: havana-ml2-ovs
Choose a base branch
from

Conversation

itooon
Copy link
Contributor

@itooon itooon commented Jun 10, 2014

Update neutron-service-ml2-plugin playbook that add check python six library version and upgrade.

Havana neutron server need python six library version 1.4.1 or later.
However, Ubuntu 12.04 six library version is 1.1.0.

…library version and upgrade.

Havana neutron server need python six library version 1.4.1 or later.
However, Ubuntu 12.04 six library version is 1.1.0.
@djoreilly
Copy link
Owner

why not use the built-in idempotency that the ansible pip module provides? like:

  - name: install python-pip package
    apt: pkg=python-pip

  - name: install or upgrade python six library
    pip: name=six version=1.4.1
    notify:
      - restart neutron-server

@itooon
Copy link
Contributor Author

itooon commented Jun 16, 2014

In my environment, python six library was updated by other playbook to newer than 1.4.1.
So, I added version check code for supporting python six library that was upgraded by manually or other playbook.
However, this version check code has issue that is only supported by ansible 1.6 or newer.

So, I agree to use your suggested code for standard use case.

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

Successfully merging this pull request may close these issues.

2 participants