theforeman / theforeman.foreman / 0.8.1 / module / foreman_architecture Manage Foreman Architectures using Foreman API Authors: Manisha Singhal (@Manisha15) ATIX AG preview | supported by communitytheforeman.foreman.foreman_architecture (0.8.1) — module
Install with ansible-galaxy collection install theforeman.foreman:==0.8.1
collections: - name: theforeman.foreman version: 0.8.1
Create, Update and Delete Foreman Architectures using Foreman API
- name: "Create an Architecture" foreman_architecture: name: "i386" operatingsystems: - "TestOS1" - "TestOS2" server_url: "https://foreman.example.com" username: "admin" password: "secret" state: present
- name: "Update an Architecture" foreman_architecture: name: "i386" operatingsystems: - "TestOS3" - "TestOS4" server_url: "https://foreman.example.com" username: "admin" password: "secret" state: present
- name: "Delete an Architecture" foreman_architecture: name: "i386" server_url: "https://foreman.example.com" username: "admin" password: "secret" state: absent
name: description: Name of architecture required: true type: str state: choices: - present - absent default: present description: - State of the entity in Foreman type: str password: description: Password of the user accessing the Foreman server required: true type: str username: description: Username accessing the Foreman server required: true type: str server_url: description: URL of the Foreman server required: true type: str updated_name: description: New architecture name. When this parameter is set, the module will not be idempotent. type: str validate_certs: aliases: - verify_ssl default: true description: Whether or not to verify the TLS certificates of the Foreman server type: bool operatingsystems: description: List of operating systems the architecture should be assigned to elements: str required: false type: list