Skip to content

An Ansible role to manage system repositories and packages

License

Notifications You must be signed in to change notification settings

ajxb/ansible-role-package

Repository files navigation

Manage system repositories and packages

None

Name Description Default
package_repositories A list of repositories to be installed []
package_packages A list of packages to be installed []
package_python_packages A list of Python packages to be installed []

None

Add the google chrome repository and install the google chrome package

---
- name: Add the google chrome repository and install the google chrome package
  hosts: all
  roles:
    - role: ajxb.package
      vars:
        package_repositories:
          - {
              name: google-chrome,
              baseurl: "https://dl.google.com/linux/chrome/rpm/stable/x86_64",
              enabled: true,
              gpgcheck: true,
              gpgkey: "https://dl.google.com/linux/linux_signing_key.pub",
            }
        package_packages:
          - google-chrome-stable

Apache-2.0

About

An Ansible role to manage system repositories and packages

Resources

License

Stars

Watchers

Forks

Packages

No packages published