0

How can I accept the Microsoft EULA agreement for ttf-mscorefonts-installer? lists some ways to achieve this (GUI, script, puppet config).

But I am at loss how to handle echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true in Ansible.

Simply running this command on every run of Ansible playbook seems substandard.

0

With ansible:

- name: prepare eula 
  debconf:
    name: ttf-mscorefonts-installer
    question: msttcorefonts/accepted-mscorefonts-eula
    value: true

These things get configured with debconf, and you can see all options with

debconf-show package

Of course, then you'll have to install it at least once manually. Please note, debconf does not install the package, it simply prepares debconf for it.

2
  • "Of course, then you'll have to install it at least once manually." then how it is solving fact that I want to do it with Ansible? Feb 24 at 11:43
  • It solves it for every following installation. Besides, you're free to just google in advance what debconf questions that given package wants to have set so you don't have to install it.
    – bstabens
    Feb 24 at 11:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.