Server IP : 85.214.239.14 / Your IP : 18.218.63.176 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/self/root/lib/python3/dist-packages/ansible_collections/ovirt/ovirt/ |
Upload File : |
[![Build Status](https://jenkins.ovirt.org/job/oVirt_ovirt-ansible-collection_standard-check-pr/badge/icon)](https://jenkins.ovirt.org/job/oVirt_ovirt-ansible-collection_standard-check-pr/) [![Build Status](https://img.shields.io/badge/docs-latest-blue.svg)](https://docs.ansible.com/ansible/2.10/collections/ovirt/ovirt/index.html) oVirt Ansible Collection ==================================== The `ovirt.ovirt` manages all oVirt Ansible modules. The pypi installation is no longer supported if you want to install all dependencies do it manually or install the collection from RPM and it will be done automatically. Note ---- Please note that when installing this collection from Ansible Galaxy you are instructed to run following command: ```bash $ ansible-galaxy collection install ovirt.ovirt ``` Requirements ------------ * Ansible core version 2.12.0 or higher * Python SDK version 4.5.0 or higher * Python netaddr library on the ansible controller node Content of the collection ---------------- * modules: * ovirt_* - Modules to manage objects in ovirt Engine * ovirt_*_info - Modules to gather information about objects in ovirt Engine * roles: * cluster_upgrade * engine_setup * hosted_engine_setup * image_template * infra * repositories * shutdown_env * vm_infra * disaster_recovery * inventory plugin Example Playbook ---------------- ```yaml --- - name: ovirt ansible collection hosts: localhost connection: local vars_files: # Contains encrypted `engine_password` varibale using ansible-vault - passwords.yml tasks: - block: # The use of ovirt.ovirt before ovirt_auth is to check if the collection is correctly loaded - name: Obtain SSO token with using username/password credentials ovirt.ovirt.ovirt_auth: url: https://ovirt.example.com/ovirt-engine/api username: admin@internal ca_file: ca.pem password: "{{ ovirt_password }}" # Previous task generated I(ovirt_auth) fact, which you can later use # in different modules as follows: - ovirt_vm: auth: "{{ ovirt_auth }}" state: absent name: myvm always: - name: Always revoke the SSO token ovirt_auth: state: absent ovirt_auth: "{{ ovirt_auth }}" collections: - ovirt.ovirt ``` Licenses ------- - Apache License 2.0 - GNU General Public License 3.0