review: loop with bare variable name
This commit is contained in:
parent
0456dd002c
commit
18db24b23e
3 changed files with 4 additions and 3 deletions
|
@ -236,7 +236,7 @@
|
|||
|
||||
- name: fetch file list
|
||||
fetch: src={{item}} dest=/{{datadir_prfx_path}}/{{inventory_hostname}}-{{timestamp.stdout}}/ flat=true
|
||||
with_items: file_list.stdout_lines
|
||||
with_items: "{{file_list.stdout_lines}}"
|
||||
changed_when: False
|
||||
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
- name: Run update-dns on each nameserver
|
||||
command: /usr/local/bin/update-dns
|
||||
delegate_to: "{{item}}"
|
||||
with_items: groups.dns
|
||||
with_items: "{{groups.dns}}"
|
||||
when: nodns is not defined or not "true" in nodns
|
||||
|
||||
- name: Wait for dns to percolate (1 minute)
|
||||
|
|
|
@ -63,7 +63,8 @@
|
|||
|
||||
- name: add root keys for sysadmin-main and other allowed users
|
||||
authorized_key: user=root key="{{ item }}"
|
||||
with_lines: "/srv/web/infra/ansible/scripts/auth-keys-from-fas @sysadmin-main {{ root_auth_users }}"
|
||||
with_lines:
|
||||
- "/srv/web/infra/ansible/scripts/auth-keys-from-fas @sysadmin-main {{ root_auth_users }}"
|
||||
tags:
|
||||
- config
|
||||
- sshkeys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue