Ansible установка списка пакетов

---
- 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

 

Ansible

Related Articles

0 Comment

Leave a Comment

Ваш адрес email не будет опубликован.