use loop instead of with_items
This commit is contained in:
parent
7f0179c000
commit
60aa02ebae
1 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@
|
|||
section: greeter
|
||||
option: "{{ item.option }}"
|
||||
value: "{{ item.value }}"
|
||||
with_items:
|
||||
loop:
|
||||
- option: background
|
||||
value: /etc/lightdm/bg.jpg
|
||||
- option: font-name
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
mode: "0755"
|
||||
with_items:
|
||||
loop:
|
||||
- src: guest-session-setup.sh
|
||||
dest: /usr/share/lightdm/guest-session/setup.sh
|
||||
- src: guest-account.sh
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
section: "Seat:*"
|
||||
option: "{{ item.option }}"
|
||||
value: "{{ item.value }}"
|
||||
with_items:
|
||||
loop:
|
||||
- option: allow-guest
|
||||
value: "true"
|
||||
- option: greeter-allow-guest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue