summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Savineau <dsavinea@redhat.com>2018-11-06 15:02:58 -0500
committerDimitri Savineau <dsavinea@redhat.com>2018-11-06 15:02:58 -0500
commit364df84d1d04e5952477676b6cd18bd7eb0cb1d6 (patch)
treee513a8c64c587396db04057d77e95d6257eb9bee
parent9b9da133e49aa9eee554935fccbda52c1baed109 (diff)
Remove deprecated squash actions
Since ansible 2.7: [DEPRECATION WARNING]: DEFAULT_SQUASH_ACTIONS option, Loop squashing is deprecated and this configuration will no longer be used , use a list directly with the module argument instead. This feature will be removed in version 2.11. [DEPRECATION WARNING]: Invoking "package" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying `name: {{ item }}`, please use `name: [u'foo', u'bar']` and remove the loop. This feature will be removed in version 2.11. [DEPRECATION WARNING]: Invoking "yum" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying `name: {{ item }}`, please use `name: [u'foo', u'bar']` and remove the loop. This feature will be removed in version 2.11. Change-Id: I619d21e72e8bc12de102c9731c1f970d3c375312
-rw-r--r--tasks/prepare.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/tasks/prepare.yml b/tasks/prepare.yml
index ef40aa1..2a04e65 100644
--- a/tasks/prepare.yml
+++ b/tasks/prepare.yml
@@ -18,6 +18,5 @@
- name: Install Red Hat certification packages
become: True
package:
- name: '{{ item }}'
+ name: "{{ openstack_certification_install_rpms }}"
state: present
- with_items: "{{ openstack_certification_install_rpms }}"