• Skip to primary navigation
  • Skip to content
  • Skip to footer
Automate NYC! Let's automate that...
  • Posts
  • Categories
  • Tags
  • KB Docs
    1. Home
    2. /
    3. Ansible
    4. /
    5. How to accept EULA when yum installing something?

    Eric Chong

    Ansible Automation Architect @ Red Hat

    • NYC
    • Website
    • LinkedIn

    How to accept EULA when yum installing something?

    July 19, 2018 less than 1 minute read

    How to accept EULA when yum installing something?

    - name: Install mssql-tools and msodbcsql
      yum:
        name: ""
        state: present
      with_items:
        - mssql-tools
        - msodbcsql
      environment:
        ACCEPT_EULA: 'y'
      become: true
      become_user: root
    

    Tags: Ansible, yum

    Categories: Ansible

    Updated: July 19, 2018

    Share on

    Twitter Facebook LinkedIn
    Previous Next

    Leave a comment

    You may also enjoy

    Using AAP session authentication for API calls

    July 21, 2025 1 minute read

    While reading the Automation execution API overview doc, I noticed that beside OAuth 2 token, and basic auth with username and password, we can also use gate...

    Setting up Windows VM on RHEL with GPU passthru

    January 19, 2025 2 minute read

    Background Instead of dual boot my PC, I want to use RHEL as my main OS and run the Windows 11 as a VM on top. However, gaming will be terrible without a de...

    Using HashiCorp Vault Signed SSH with AAP

    August 27, 2024 1 minute read

    In this post Using signed SSH certificate in AAP, we sign the the SSH key on command line before we create the AAP machine credential. In this article, we w...

    Using Datadog as External Logging for AAP

    June 7, 2024 1 minute read

    If you want to integrate Datadog logging directly with the playbooks or projects, check out this article KB3982961 and Datadog callback plugin

    • Follow:
    • Feed
    © 2025 Eric Chong. Powered by Jekyll & Minimal Mistakes.