Files
dev-machine/main.yml
Felix Nehrke d1471e937a Move variable-files to group_vars directory
The group_vars dir is the standard destination for ansible to look for
variable-files. So I do not have to declare them in the main.yml
anymore. This change will make it easier for me to reason about upcoming
changes, like using a vault for sensitive information.
2025-09-12 18:19:19 +02:00

21 lines
471 B
YAML

---
- hosts: localhost
roles:
- role: roles/macos
tags: [macos]
when: ansible_os_family == 'Darwin'
- role: roles/debian
tags: [debian]
when: ansible_os_family == 'Debian'
tasks:
- name: Dump hostvars
tags: [never, dump]
debug:
var: hostvars[inventory_hostname]
- name: Ensure fly
tags: [packages]
get_url:
url: "{{ fly_url }}"
dest: "{{ lookup('env', 'HOME') }}/.local/bin/fly"
mode: "u=rwx,g=rx,o=rx"