imfreedom/ansible

Fix a syntax error

2021-12-27, Gary Kramlich
bdeb43dc31c6
Fix a syntax error
---
- name: enable package updates
set_fact:
update: "yes"
when: not update|bool
tags:
- never
- update
- name: Include MacOS tasks
include_tasks: darwin.yml
when: update|bool and ansible_system == "Darwin"
- name: Include Debian tasks
include_tasks: debian.yml
when: update|bool and ansible_facts['os_family'] == "Debian"
- name: Include FreeBSD tasks
include_tasks: freebsd.yml
when: update|bool and ansible_system == "FreeBSD"
- name: Include OpenBSD tasks
include_tasks: openbsd.yml
when: update|bool and ansible_system == "OpenBSD"