#ansible (2021-04)

ansible

Discussions related to ansible configuration management

2021-04-15

Pierre-Yves avatar
Pierre-Yves
06:52:20 AM

Hello, how looks a CICD pipeline for Ansible, which check would you run before each deployment ? do you run preflight check , or ansible-playbook with –check option ? output result as junit reports ?

2021-04-14

2021-04-13

Bart Coddens avatar
Bart Coddens

hi all, could you query the tag of a volume on AWS, if it matches a name only then execute your ansible task

Pierre-Yves avatar
Pierre-Yves

Hi, I do it on Azure, the filter is set in the inventory “if matches resource group and tags”. I hope it helps :

include_vm_resource_groups:
    - vms_rg
keyed_groups:
- prefix: prometheus
  key: [ tags.prometheus, tags.wmi_exporter ]
    keyboard_arrow_up