2016-06-10 4 views

답변

0

가 위 달성 될 수있다 등록 :

 
- name: "Registering list varibles count " 
    shell: python -c "print [x for x in range(1, {{ server_var['count'] }})]" 
    register: list_name 
- name: "debug statement to checkout the output" 
    debug: 
    msg: "{{ list_name.stdout }}" 
# the list_name.stdout can also be used as jinja list variable 
관련 문제