Инструменты пользователя

Инструменты сайта


ansible._could_not_find_aptitude._please_ensure_it_is_installed

Ansible. Could not find aptitude. Please ensure it is installed

Для работы модуля apt необходима предустановленная на хосте утилита aptitude.

Для решения проблемы подключаемся к хосту по SSH и выполняем:

apt-get install python-minimal aptitude -y

Чтобы избежать проблемы, в начале плейбука лучше выполнять задачу:

- name: "FIX: Ubuntu 16.04 LTS doesn't come with certain modules, required by ansible"
  raw: apt-get install python-minimal aptitude -y
  become: true
  become_user: root
  become_method: sudo
ansible._could_not_find_aptitude._please_ensure_it_is_installed.txt · Последнее изменение: 2017/05/16 00:00 (внешнее изменение)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki