git clone https://github.com/gnosek/oktawave-ansible.git
pip install git+https://github.com/gnosek/oktawave-cli.git
ln -s oktawave /your/playbook/dir/library/oktawave
See example playbooks. Supported parameters:
okta_username
,okta_password
-- Oktawave account credentialsname
-- OCI namestate
--present
orabsent
, desired OCI state (creates/deletes) OCI to matchorigin_oci
-- OCI ID to clone fromtemplate_id
-- OCI template IDoci_class
-- optional OCI class (Mini, Starter, etc.)change_at_midnight
(yes
/no
) -- defer change until midnight to avoid immediate rebootwait_timeout
-- how long to wait (in seconds, default 300) for new OCI to appear before reporting an error
Return value contains quite a lot of OCI settings/state info, run the example playbooks with -vvv
to see it.
Required parameters: name
, template_id
Optional parameters: oci_class
(defaults to template default)
XXX: no support for fetching password of new instance
Required parameters: name
, origin_oci
Just say state=absent
Required parameters: name
Required parameters: name
, oci_class