From cdc1664779eeff30646726b3a576347217ff4965 Mon Sep 17 00:00:00 2001 From: Javanaut Date: Sun, 15 Dec 2024 16:53:36 +0100 Subject: [PATCH] adapt for manjaro --- .gitignore | 6 ++++-- tools/ansible/setup_node.yml | 14 +++++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 14a3b76..cac7cf1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,8 +2,10 @@ __pycache__ junk/ .vscode .ipynb_checkpoints/ -ansible/inventory/hawaii.yml -ansible/inventory/peppermint.yml +tools/ansible/inventory/hawaii.yml +tools/ansible/inventory/peppermint.yml +tools/ansible/inventory/cappuccino.yml +tools/ansible/inventory/group_vars/all.yml ffx_test_report.log bin/conversiontest.py *.egg-info/ diff --git a/tools/ansible/setup_node.yml b/tools/ansible/setup_node.yml index 14b7502..a3db210 100644 --- a/tools/ansible/setup_node.yml +++ b/tools/ansible/setup_node.yml @@ -6,13 +6,25 @@ - name: Update system and install packages become: true + when: ansible_os_family == 'Debian' ansible.builtin.apt: + update_cache: true name: - python3-virtualenv - ffmpeg - git - screen - update_cache: yes + + - name: Update system and install packages + become: true + when: ansible_os_family == 'Archlinux' + ansible.builtin.pacman: + update_cache: true + name: + # - python-virtualenv + - ffmpeg + - git + - screen - name: Create sync dir become: true