buy tb500

Ansible with_team


  • hosts: webservers0
    tasks:
  • name: Execute a command using the shell module
    become: true
    become_user: root
    shell: touch {{ item }}
    with_items: “{{ groups[‘webservers0’] }}”

Leave a Reply