• 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

    Searching in AAP inventory using chain filter

    April 10, 2026 less than 1 minute read

    Within an inventory, we need to find hosts that are imported today from one source but not from the other. This will require the chain filter. Mindful of t...

    Using AAP Oauth Application

    September 19, 2025 3 minute read

    OAuth users are blocked to create token by default. We would still want to create token to allow other applications that use NPID users to able to connect t...

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

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