myos/ansible/roles/hosts/handlers/main.yml
Yann Autissier 44a6d37ba5 import files
2021-02-09 18:08:58 +01:00

12 lines
311 B
YAML

---
# file: handlers/main.yml
- name: update boot config
environment:
PATH: "{{ ansible_env.PATH }}:/usr/sbin:/sbin"
with_together:
- '{{ boot_config }}'
- '{{ boot_config_handler_notify.results }}'
command: "update-extlinux"
when: item.1.changed and item.0.dest == "/etc/update-extlinux.conf"