-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprovisioning.yml
More file actions
47 lines (42 loc) · 1014 Bytes
/
provisioning.yml
File metadata and controls
47 lines (42 loc) · 1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
#
# Part of https://github.com/jaclu/ish-fstools
#
# Copyright (c) 2025-2026: Jacob.Lundqvist@gmail.com
#
# License: MIT
#
# main toolbook
#
# - name: Show all gathered facts
# hosts: all
# vars_files:
# - vars.yml
# gather_facts: true
# tasks:
# - name: Display all facts
# debug:
# var: ansible_facts
- name: Setting up iSH FS
hosts: "{{ target_hosts | default('localhost') }}"
vars:
ansible_python_interpreter: /usr/bin/python3
gather_facts: false
pre_tasks:
- name: Prepare env to run playbooks
# vars:
# ift_quick_deploy: true
# # skip_cloning: true
import_tasks: pre_tasks/main.yml
tags: always
roles:
- role: common_handlers
- role: initial_prep
- role: alpine
when: ansible_facts.os_family == 'Alpine'
- role: debian
when: ansible_facts.os_family == 'Debian'
- role: all_distros
post_tasks:
- name: Run tasks/update_release.yml
import_tasks: tasks/update_release.yml