Skip to content

lotusnoir/ansible-system_upgrade

Repository files navigation

ansible-system_upgrade

Galaxy Role Version GitHub repo size downloads Ansible Quality Score License

Description

Upgrade all packages

Requirements

none

Role variables

See variables for more details.

With default variables, this role dont change anything on the system. You need to set the config variables like in the exemple in order to start configuration.

Examples

    ---
    - hosts: system_upgrade
      become: true
      become_method: sudo
      gather_facts: true
      roles:
        - role: ansible-system_upgrade
      vars:
        upgrade_simulation: false
        upgrade_pkgs_confirmation: false
        upgrade_reboot_confirmation: false
        upgrade_autoreboot: true
        upgrade_clean: true
        upgrade_hold_pkg:
          - openssl*
          - openssh*
        upgrade_unhold_pkg:
          - dbus

License

This project is licensed under Apache License. See LICENSE for more details.

Author Information