27 lines
636 B
YAML
27 lines
636 B
YAML
---
|
|
- name: Something
|
|
hosts: localhost
|
|
connection: local
|
|
gather_facts: false
|
|
become: false
|
|
|
|
vars:
|
|
bigboot_execute: true
|
|
skip_rear: false
|
|
|
|
tasks:
|
|
- name: Do something if something else is something
|
|
ansible.builtin.debug:
|
|
msg: "Executing ReaR Backup"
|
|
when:
|
|
- bigboot_execute | default(true) | bool
|
|
- not skip_rear | default(false) | bool
|
|
|
|
|
|
# - name: Do something if something else is something
|
|
# ansible.builtin.debug:
|
|
# msg: "Skipping ReaR Backup"
|
|
# when:
|
|
# - bigboot_execute | default(true) | bool
|
|
# - skip_rear | default(false) | bool
|