theforeman.foreman.redhat_manifest – Interact with a Red Hat Satellite Subscription Manifest¶
This plugin is part of the theforeman.foreman collection (version 2.2.0).
To install it use:
ansible-galaxy collection install theforeman.foreman.
To use it in a playbook, specify:
New in version 1.0.0: of theforeman.foreman
- 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