tuxinvader / tuxinvader.launchpad / 1.0.4 / module / prune_ppa Prune a PPA for size, by removing the oldest source packages | "added in version" 1.0.0 of tuxinvader.launchpad" Authors: Mark Boddington (@TuxInvader)tuxinvader.launchpad.prune_ppa (1.0.4) — module
Install with ansible-galaxy collection install tuxinvader.launchpad:==1.0.4
collections: - name: tuxinvader.launchpad version: 1.0.4
Prune a PPA for size, by removing the oldest source packages
# Prune the PPA down to 2 source packages - name: Prune mainline PPA to most recent 2 releases prune_ppa: name: lts-mainline project: ~tuxinvader max_sources: 2 environment: LP_ACCESS_TOKEN: kjaslkdjalksd LP_ACCESS_SECRET: alskjajsdlk
name: description: The name of the PPA to prune required: true type: str project: description: The name of the project which owns the PPA required: true type: str max_sources: default: 2 description: The number of source packages to leave required: false type: int
count: description: The number of packages removed returned: always sample: 1 type: int pruned: description: Dictionary of package names and publication dates returned: always sample: linux-5.19.10: '2022-09-21T14:28:54.544426+00:00' type: dict