Skip to content

Instantly share code, notes, and snippets.

@omgjlk
Created March 11, 2016 16:35
Show Gist options
  • Save omgjlk/44667556b8daaddaa441 to your computer and use it in GitHub Desktop.
Save omgjlk/44667556b8daaddaa441 to your computer and use it in GitHub Desktop.
- name: update-alternatives
alternatives: name={{ item }}
path={{ openstack_package.virtualenv_base }}/{{ project_name }}/bin/{{ item }}
link=/usr/local/bin/{{ item }}
with_items: "{{ alternatives }}"
when: alternatives is defined
results in
task path: /Users/jkeating/src/ursula/roles/openstack-package/tasks/main.yml:40
[DEPRECATION WARNING]: Skipping task due to undefined Error, in the future this
will be a fatal error.. This feature will be removed in a future release.
Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment