codeaffen / codeaffen.foreman / 1.3.0 / module / redhat_manifest Interact with a Red Hat Satellite Subscription Manifest | "added in version" 1.0.0 of codeaffen.foreman" Authors: Sean O'Keeffe (@sean797)codeaffen.foreman.redhat_manifest (1.3.0) — module
Install with ansible-galaxy collection install codeaffen.foreman:==1.3.0
collections: - name: codeaffen.foreman version: 1.3.0
Download and modify a Red Hat Satellite Subscription Manifest
- name: Create foreman.example.com Manifest and add 7 sub theforeman.foreman.redhat_manifest: name: "foreman.example.com" username: "john-smith" password: "changeme" pool_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX quantity: 7
- name: Ensure my manifest has 10 of one subs in it and export theforeman.foreman.redhat_manifest: uuid: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX username: john-smith password: changeme pool_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX quantity: 10 path: /root/manifest.zip
- name: Remove all of one subs from foreman.example.com theforeman.foreman.redhat_manifest: name: foreman.example.com username: john-smith password: changeme pool_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX pool_state: absent
name: description: - Manifest Name type: str path: description: - path to export the manifest type: path uuid: description: - Manifest uuid type: str state: choices: - present - absent default: present description: - Manifest state type: str portal: default: https://subscription.rhsm.redhat.com description: - Red Hat Portal subscription access address type: str pool_id: description: - Subscription pool_id type: str password: description: - Red Hat Portal password required: true type: str quantity: description: - quantity of pool_id Subscriptions type: int username: description: - Red Hat Portal username required: true type: str pool_state: choices: - present - absent default: present description: - Subscription state type: str validate_certs: default: true description: - Validate Portal SSL type: bool