community / community.general / 6.6.8 / module / rpm_ostree_pkg Install or uninstall overlay additional packages | "added in version" 2.0.0 of community.general" Authors: Dusty Mabe (@dustymabe), Abhijeet Kasurde (@Akasurde)community.general.rpm_ostree_pkg (6.6.8) — module
Install with ansible-galaxy collection install community.general:==6.6.8
collections: - name: community.general version: 6.6.8
Install or uninstall overlay additional packages using C(rpm-ostree) command.
- name: Install overlay package community.general.rpm_ostree_pkg: name: nfs-utils state: present
- name: Remove overlay package community.general.rpm_ostree_pkg: name: nfs-utils state: absent
name: aliases: - pkg description: - Name of overlay package to install or remove. elements: str required: true type: list state: choices: - absent - present default: present description: - State of the overlay package. - C(present) simply ensures that a desired package is installed. - C(absent) removes the specified package. type: str
action: description: Action performed. returned: always sample: install type: str changed: description: State changes. returned: always sample: true type: bool cmd: description: Full command used for performed action. returned: always sample: rpm-ostree uninstall --allow-inactive --idempotent --unchanged-exit-77 nfs-utils type: str packages: description: A list of packages specified. returned: always sample: - nfs-utils type: list rc: description: Return code of rpm-ostree command. returned: always sample: 0 type: int stderr: description: Stderr of rpm-ostree command. returned: always sample: '' type: str stdout: description: Stdout of rpm-ostree command. returned: always sample: Staging deployment...done\n... type: str