We deploy RPMs by modifying a file within group_vars as follows. Is there a
way to store the list of RPMs in consul and do a lookup and perform the
installation? I want to get away from having to modify the file manually.
# group_vars/deploy_list_php
php:
- { module: api, svn_tag: '20150731r1_6.37_justified' }
- { module: ui, svn_tag: '20150804r1_6.37_justified' }
- { module: ui-sp, svn_tag: '20150719r1_6.37_justified' }
# task
- name: Install PHP modules
command: sudo rpm -Uvh {{ rpm_repository }}/aria-{{ item.module }}-{{
item.svn_tag }}.rpm --force
with_items: php
register: php_command_result
ignore_errors: True
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/23cfee42-36ec-4b49-8b87-47877eee3051%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.