Thursday, October 27, 2016


to get host inventory 
- name: Install this only for local dev machine
  pip: name=pyramid
  when: inventory_hostname == "local"
     instead of inventory_hostname , can use group_names to get individual group
copy command fails for large files use synchronize
    - name: Transfer file from ServerA to ServerB
        src: /path/on/server_a
        dest: /path/on/server_b

No comments:

Post a Comment

Which operating system you like most?