1 #####################################
2 ### someone's ansible provisioner ###
3 #####################################
4 # Part of: https://git.somenet.org/root/pub/somesible.git
5 # 2017-2024 by someone <someone@somenet.org>
8 # Playbook for provisioning the base-meta-role for all hosts. Also a reference of our vars.
10 # This playbook will be executed always: This is a speed optimization.
11 # Host-specific playbooks are meant to extend the base.
14 # TODO: WakeOnLan and wait for the boxes to become ready and continue playbook
18 # - name: Send magic Wake-On-Lan packet to turn on individual systems
21 # delegate_to: localhost
22 # - when: wol mac, wolip set
24 # - name: Wait for system to become reachable
25 # wait_for_connection:
32 # set in inventory file for now.
34 # # Intended to only be overridden in the commandline, for self-healing - ignore, if we are down.
35 # - ignore_online_errors: False
37 - { role: custom-command, tags: 'cc', when: 'cc is defined' }
38 - { role: cleanup, tags: ['cleanup'], when: 'not cc is defined and cleanup_level|int > 0' }
39 - { role: base, tags: ['base'], when: 'not cc is defined' }