infra/ansible/bootstrap.yml
2025-05-30 13:24:38 -05:00

10 lines
245 B
YAML

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