How to auto accept terms while installing packages with Ansible?

前端 未结 2 1238
青春惊慌失措
青春惊慌失措 2021-01-20 03:41

While installing pkgs Ansible fails, because there is a need to accept licensing terms.

How to auto accept terms through ansible-playbook?



        
2条回答
  •  甜味超标
    2021-01-20 04:11

    For virtualbox-ext-pack

    - debconf:
        name: virtualbox-ext-pack
        question: virtualbox-ext-pack/license
        value: "true"
        vtype: select
    

    before apt install command.

提交回复
热议问题