https://github.com/teknoir/ansible-kubeflow
A Kubeflow pipeline and an Ansible playbook to patch devices adding Artifact Registry pull secret
https://github.com/teknoir/ansible-kubeflow
Last synced: 7 months ago
JSON representation
A Kubeflow pipeline and an Ansible playbook to patch devices adding Artifact Registry pull secret
- Host: GitHub
- URL: https://github.com/teknoir/ansible-kubeflow
- Owner: teknoir
- Created: 2022-08-31T07:35:20.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-26T13:01:27.000Z (about 3 years ago)
- Last Synced: 2025-01-30T08:43:02.194Z (9 months ago)
- Language: Jupyter Notebook
- Size: 51.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Kubeflow
A Kubeflow pipeline that run an Ansible playbook on a subset of devices## Pipeline input
```json
{
"playbook_repo": "",
"playbook_path": "",
"playbook_localhost_path": "",
"ansible_limit": "",
"add_device_label": ""
}
```> __**Label**__
> One label can be added with format "key=value". It will be added to devices that were successful.
> Adding a label also do discard any errors in the play and pipeline will be successful even if the play fails.### Ansible limit
A limit is used, following the patterns in Ansible, to select devices to run the patch on.
Se reference doc here:
[https://docs.ansible.com/ansible/latest/user_guide/intro_patterns.html](https://docs.ansible.com/ansible/latest/user_guide/intro_patterns.html)> **The Teknoir inventory:**
> Namespaces/labels become groups, Ansible do not support namespaces/labels with dashes(-) or dots(.).
> Dashes(-) and dots(.) will be replaced with underscores(_).
> Remember that when using them!## Patching "technique"
Devices might not be accessible, for different reasons.
There is a technique to make sure the patch only runs once per device.
By matching limit and when finished modifying device labels...TBD
Schedule recurrant job