# Path: main/uatiz-required-packages.pb.yml --- - hosts: ["main_server"] become: yes tasks: # - name: Download google-chrome-stable_current_amd64.deb # tags: ["download-google-chrome-stable"] # get_url: # url: https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb # dest: /tmp/google-chrome-stable_current_amd64.deb # when: ansible_distribution in ["Ubuntu", "Debian"] and ansible_distribution_version in ["20.04", "22.04"] # - name: Install google-chrome-stable_current_amd64.deb # tags: ["install-google-chrome-stable"] # package: # deb: /tmp/google-chrome-stable_current_amd64.deb # # dpkg_options: 'force-confold,force-confdef' # when: ansible_distribution in ["Ubuntu", "Debian"] and ansible_distribution_version in ["20.04", "22.04"] - name: Install google-chrome-stable_current_amd64.deb tags: ["install-google-chrome-stable"] package: name: google-chrome-stable state: latest update_cache: yes cache_valid_time: 3600 allow_downgrade: yes when: ansible_distribution in ["Ubuntu", "Debian"] and ansible_distribution_version in ["20.04", "22.04"] - name: Install Uatiz Required Packages tags: ["install-uatiz-required-packages"] package: name: - gconf-service - libasound2 - libatk1.0-0 - libc6 - libcairo2 - libcups2 - libdbus-1-3 - libexpat1 - libfontconfig1 - libgcc1 - libgconf-2-4 - libgdk-pixbuf2.0-0 - libglib2.0-0 - libgtk-3-0 - libnspr4 - libpango-1.0-0 - libpangocairo-1.0-0 - libstdc++6 - libx11-6 - libx11-xcb1 - libxcb1 - libxcomposite1 - libxcursor1 - libxdamage1 - libxext6 - libxfixes3 - libxi6 - libxrandr2 - libxrender1 - libxss1 - libxtst6 - ca-certificates - fonts-liberation - libappindicator1 - libnss3 - lsb-release - xdg-utils - wget - libgbm-dev - libatk-bridge2.0-0 - libxkbcommon-x11-0 - libxdamage-dev state: latest update_cache: yes cache_valid_time: 3600 allow_downgrade: yes when: ansible_distribution in ["Ubuntu", "Debian"] and ansible_distribution_version in ["20.04", "22.04"]