[tbb-commits] [tor-browser-build/master] Bug 23384: fix syntax to work with ansible 2.2

boklm at torproject.org boklm at torproject.org
Fri Sep 22 16:11:39 UTC 2017


commit da8ca6fbef84c2b324802db154cfd82bad78c506
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Fri Sep 22 18:09:02 2017 +0200

    Bug 23384: fix syntax to work with ansible 2.2
    
    https://docs.ansible.com/ansible/latest/porting_guide_2.0.html#deprecated
---
 tools/ansible/roles/tbb-team/tasks/main.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/ansible/roles/tbb-team/tasks/main.yml b/tools/ansible/roles/tbb-team/tasks/main.yml
index 9beaf0b..5cc5755 100644
--- a/tools/ansible/roles/tbb-team/tasks/main.yml
+++ b/tools/ansible/roles/tbb-team/tasks/main.yml
@@ -5,11 +5,11 @@
       state: present
       groups: tbb-build
       shell: /bin/bash
-  with_items: tbb_team_members
+  with_items: "{{ tbb_team_members }}"
 
 - name: Add ssh keys to authorized_keys
   authorized_key:
       user: "{{ item }}"
       state: present
       key: "{{ lookup('file', item + '.pub') }}"
-  with_items: tbb_team_members
+  with_items: "{{ tbb_team_members }}"



More information about the tbb-commits mailing list