2023-07-30 00:19:36 +00:00
|
|
|
---
|
|
|
|
- name: Load a variable file based on the OS type.
|
|
|
|
include_vars: "{{ item }}"
|
|
|
|
with_first_found:
|
|
|
|
- "{{ ansible_distribution }}-{{ ansible_facts.distribution_major_version }}.yml"
|
|
|
|
- "{{ ansible_distribution }}.yml"
|
|
|
|
- "{{ ansible_os_family }}.yml"
|
|
|
|
|
2023-08-03 15:49:38 +00:00
|
|
|
- name: Install Deno
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: deno.yml
|
|
|
|
apply:
|
|
|
|
tags: deno
|
|
|
|
become: true
|
|
|
|
|
2023-07-30 01:14:08 +00:00
|
|
|
- name: Install build dependencies
|
2023-07-30 00:19:36 +00:00
|
|
|
ansible.builtin.package:
|
2023-07-30 01:14:08 +00:00
|
|
|
name: "{{ strfry_build_dependencies }}"
|
2023-07-30 00:19:36 +00:00
|
|
|
state: present
|
|
|
|
become: true
|
|
|
|
|
2023-07-30 01:14:08 +00:00
|
|
|
- name: Set up local user account
|
2023-07-30 00:19:36 +00:00
|
|
|
import_tasks: setup-user.yml
|
|
|
|
|
2023-07-30 01:14:08 +00:00
|
|
|
- name: Run build tasks
|
|
|
|
import_tasks: build.yml
|
|
|
|
tags: build
|
2023-07-30 00:19:36 +00:00
|
|
|
|
2023-07-30 01:14:08 +00:00
|
|
|
- name: Proceeding with installation
|
2023-07-30 00:19:36 +00:00
|
|
|
import_tasks: install.yml
|