redhat.satellite.compute_attribute – Manage Compute Attributes¶
Note
This plugin is part of the redhat.satellite collection (version 2.2.0).
To install it use: ansible-galaxy collection install redhat.satellite
.
To use it in a playbook, specify: redhat.satellite.compute_attribute
.
New in version 1.0.0: of redhat.satellite
Parameters¶
Examples¶
- name: "Create compute attribute"
redhat.satellite.compute_attribute:
username: "admin"
password: "changeme"
server_url: "https://satellite.example.com"
compute_profile: "Test Compute Profile"
compute_resource: "Test Compute Resource"
vm_attrs:
memory_mb: '2048'
cpu: '2'
state: present
- name: "Update compute attribute"
redhat.satellite.compute_attribute:
username: "admin"
password: "changeme"
server_url: "https://satellite.example.com"
compute_profile: "Test Compute Profile"
compute_resource: "Test Compute Resource"
vm_attrs:
memory_mb: '1024'
cpu: '1'
state: present
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Manisha Singhal (@Manisha15) ATIX AG