tuxinvader / tuxinvader.launchpad / 1.0.4 / module / ppa_info Retrieve facts about a Launchpad PPA | "added in version" 1.0.0 of tuxinvader.launchpad" Authors: Mark Boddington (@TuxInvader)tuxinvader.launchpad.ppa_info (1.0.4) — module
Install with ansible-galaxy collection install tuxinvader.launchpad:==1.0.4
collections: - name: tuxinvader.launchpad version: 1.0.4
Retrieve facts about a Launchpad PPA and its source_packages. Facts about the PPA are returned in a dictionary called 'details', and a list of published source_packages is returned in a list called 'sources'. By default we return source packages which are in the 'Published' state, but you can apply a source_filter of '*' to see all packages, or one of 'Pending', 'Published', 'Superseded', 'Deleted' or 'Obsolete'
# Get facts about PPA ~tuxinvader/lts-mainline using an authenticated connection - name: Get ~tuxinvaders details ppa_info: project: ~tuxinvader name: lts-mainline environment: LP_ACCESS_TOKEN: kjaslkdjalksd LP_ACCESS_SECRET: alskjajsdlk
# Get facts about PPA ~tuxinvader/lts-mainline - name: Get ~tuxinvaders details ppa_info: project: ~tuxinvader name: lts-mainline register: ppa_mainline
name: default: None description: The name of the PPA required: true type: str project: default: None description: The name of the project owning the PPA required: true type: str source_filter: default: Published description: By default we return a list of source_packages which are published, you can choose to remove the filter by setting this to '*' or to use a different source status. The options for source_status are Pending, Published, Superseded, Deleted or Obsolete required: false type: str
details: description: Facts about the PPA returned: always sample: authorized_size: 2048 build_debug_symbols: false description: PPA for LTS foo displayname: foo external_dependencies: null http_etag: '"70d6b91de3d852e1bd3dbb07a6391a3342fdnnnnnnnnnnnnnnnnnnnnn"' name: foo permit_obsolete_series_uploads: false private: false publish: true publish_debug_symbols: false reference: ~project/ubuntu/foo relative_build_score: 0 require_virtualized: true resource_type_link: https://api.launchpad.net/devel/#archive self_link: https://api.launchpad.net/devel/~project/+archive/ubuntu/foo signing_key_fingerprint: Annnnnnn655C819nnnnnn23844A6C1nnnnn6 status: Active suppress_subscription_notifications: false web_link: https://launchpad.net/~project/+archive/ubuntu/foo type: dict sources: description: List of source_packages published in this PPA returned: always sample: - component_name: main date_created: '2022-09-27T10:02:08.870234+00:00' date_made_pending: null date_published: '2022-09-27T10:33:30.086025+00:00' date_removed: null date_superseded: null display_name: linux-5.19.11 5.19.11-051911.202209270958 in jammy http_etag: '"nnnnnnnnnnnnnnnnnnnnnnnnnnnn-nnnnnnnnnnnnnnnnnnnnn"' pocket: Release removal_comment: null resource_type_link: https://api.launchpad.net/devel/#source_package_publishing_history scheduled_deletion_date: null section_name: devel self_link: https://api.launchpad.net/devel/~project/+archive/ubuntu/foo/+sourcepub/nnnnnnn source_package_name: linux-5.19.11 source_package_version: 5.19.11-051911.202209270958 status: Published type: list