--- - name: Set up localhost hosts: localhost tasks: - name: Soft install apt: name={{item}} state=installed with_items: - mc - iotop - docker.io
hosts file
[local] localhost ansible_connection=local
ansible.cfg
[defaults] hostfile = hosts
--- - name: Set up localhost hosts: localhost tasks: - name: Soft install apt: name={{item}} state=installed with_items: - mc - iotop - docker.io
hosts file
[local] localhost ansible_connection=local
ansible.cfg
[defaults] hostfile = hosts
0 Comment