10 lines
240 B
YAML
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"
|