Commit graph

7 commits

Author SHA1 Message Date
gardar
1c809bc7fc
fix: cleanup unused playbooks now that prepare stages have been merged into one
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-28 03:01:55 +00:00
gardar
c8b2516c7f
refactor: streamline molecule alternative scenario further
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-27 16:38:46 +00:00
gardar
3b679c9161
fix: skip running testinfra on excluded ansible versions
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-20 19:48:18 +00:00
gardar
b471a1f4a4
test: unified prepare playbook for alternative molecule scenarios
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-18 03:49:54 +00:00
Bryan Quigley
39eddc920e enhancement: adding env, container labels options
Add following
- cadvisor_env_metadata_whitelist
- cadvisor_whitelisted_container_labels
- cadvisor_store_container_labels

Tested with this simple playbook:
---
- name: Install cAdvisor
  hosts: localhost
  become: yes
  tasks:
    - name: Import cAdvisor role
      import_role:
        name: cadvisor
      vars:
        cadvisor_docker_only: true
        cadvisor_enable_metrics: [ "cpu", "memory", "network", "oom_event" ]
        cadvisor_whitelisted_container_labels: [ "com.docker.compose.oneoff" ]
        cadvisor_env_metadata_whitelist: [ "JEKYLL_ENV", "PATH" ]
        cadvisor_store_container_labels: false

Also tested dropping the options, which is why I decided to explicitly set
store_container_labels: true (which is the cadvisor default).

Closes: #403
Signed-off-by: Bryan Quigley <code@bryanquigley.com>
2024-09-13 12:35:22 +00:00
Oleg Klyuchkin
e29a4191c4
test: cadvisor - more tests for alternative scenario
Signed-off-by: Oleg Klyuchkin <anviar@users.noreply.github.com>
2024-03-08 22:08:19 +03:00
SuperQ
9e8cdccba6
feat: Add cadvisor role
Add a role to deploy https://github.com/google/cadvisor.

Signed-off-by: SuperQ <superq@gmail.com>
2024-01-08 17:51:09 +01:00