Hello, 

depending of the playbook, the modules attribute's in task are differently 
written : 

Colon synthax : 

- name: APT | Update the general configuration 
(/etc/apt/apt.conf.ds/10general)      template:         src: 
etc_apt_apt.conf.d_10general.j2        dest: /etc/apt/apt.conf.d/10general      
  
owner: root        group: root        mode: 0644

Equal synthax : 

- name: Configure APT and package sources      template: 
    src={{ item }}.j2 
    dest=/{{ item }} 
    owner=root 
    group=root 
    mode=0644      with_items:         - 'etc/apt/sources.list'  

Why ?
Which one is prefered ?
Must one of this will be deprecated ?


Thanks a lot
 
   

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/21754e3e-b05e-4181-8eee-6599baca35a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to