diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-08-19 08:50:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-19 08:50:05 -0400 |
commit | 4ab29f0b2cfd232573e0ff9f9ec84ad7154c98b3 (patch) | |
tree | 5632bdb5a2013bdb15eec43a7186eaecef3e9262 /roles/openshift_serviceaccounts | |
parent | a4f5216e947e36bfd5a01c591fcff5f4b701893c (diff) | |
parent | 4383fac742a22477ddc69e4aab726a9bec45f53a (diff) | |
download | openshift-4ab29f0b2cfd232573e0ff9f9ec84ad7154c98b3.tar.gz openshift-4ab29f0b2cfd232573e0ff9f9ec84ad7154c98b3.tar.bz2 openshift-4ab29f0b2cfd232573e0ff9f9ec84ad7154c98b3.tar.xz openshift-4ab29f0b2cfd232573e0ff9f9ec84ad7154c98b3.zip |
Merge pull request #2327 from lhuard1A/openstack_ansible_2.1
Fix warnings in OpenStack provider with ansible 2.1
Diffstat (limited to 'roles/openshift_serviceaccounts')
-rw-r--r-- | roles/openshift_serviceaccounts/tasks/legacy_add_scc_to_user.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_serviceaccounts/tasks/legacy_add_scc_to_user.yml b/roles/openshift_serviceaccounts/tasks/legacy_add_scc_to_user.yml index 1efab9466..8715fc64e 100644 --- a/roles/openshift_serviceaccounts/tasks/legacy_add_scc_to_user.yml +++ b/roles/openshift_serviceaccounts/tasks/legacy_add_scc_to_user.yml @@ -15,7 +15,7 @@ template: src: serviceaccount.j2 dest: "/tmp/openshift/{{ item }}-serviceaccount.yaml" - with_items: openshift_serviceaccounts_names + with_items: '{{ openshift_serviceaccounts_names }}' - name: Get current security context constraints shell: > @@ -30,8 +30,8 @@ insertafter: "^users:$" when: "item.1.rc == 0 and 'system:serviceaccount:{{ openshift_serviceaccounts_namespace }}:{{ item.0 }}' not in {{ (item.1.stdout | from_yaml).users }}" with_nested: - - openshift_serviceaccounts_names - - scc_test.results + - '{{ openshift_serviceaccounts_names }}' + - '{{ scc_test.results }}' - name: Apply new scc rules for service accounts command: "{{ openshift.common.client_binary }} update -f /tmp/openshift/scc.yaml --api-version=v1" |