mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Renamed cymais to infinito and did some other optimations and logout implementations
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Shared Utility Code (`module_utils/`) for CyMaIS
|
||||
# Shared Utility Code (`module_utils/`) for Infinito.Nexus
|
||||
|
||||
This directory contains shared Python utility code (also known as "library code") for use by custom Ansible modules, plugins, or roles in the CyMaIS project.
|
||||
This directory contains shared Python utility code (also known as "library code") for use by custom Ansible modules, plugins, or roles in the Infinito.Nexus project.
|
||||
|
||||
## When to Use `module_utils`
|
||||
|
||||
@@ -18,7 +18,7 @@ This directory contains shared Python utility code (also known as "library code"
|
||||
|
||||
In a custom Ansible module or plugin:
|
||||
```python
|
||||
from ansible.module_utils.cymais_utils import my_shared_function
|
||||
from ansible.module_utils.infinito_utils import my_shared_function
|
||||
````
|
||||
|
||||
## When *not* to Use `module_utils`
|
||||
|
@@ -5,7 +5,7 @@ class DummySound:
|
||||
@staticmethod
|
||||
def play_start_sound(): pass
|
||||
@staticmethod
|
||||
def play_cymais_intro_sound(): pass
|
||||
def play_infinito_intro_sound(): pass
|
||||
@staticmethod
|
||||
def play_finished_successfully_sound(): pass
|
||||
@staticmethod
|
||||
@@ -69,7 +69,7 @@ else:
|
||||
play_obj.wait_done()
|
||||
|
||||
@classmethod
|
||||
def play_cymais_intro_sound(cls):
|
||||
def play_infinito_intro_sound(cls):
|
||||
# Phase durations
|
||||
build_time = 10.0
|
||||
celebr_time = 12.0
|
||||
|
Reference in New Issue
Block a user