infra/ansible/bootstrap.yml
2025-07-23 12:34:33 -05:00

10 lines
240 B
YAML

---
- name: Bootstrap new host
hosts: all
tags: bootstrap
roles:
- base
become: yes
# become_method: "{{ 'su' if (ansible_distribution | default('')) == 'Debian' else 'sudo' }}"
# become_method: "sudo"
become_method: "su"