collection of ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
397 B

- name: gather facts
setup:
- name: run distribution specific include taks
include_tasks: "{{ ansible_distribution|lower}}.yml"
vars:
ansible_become: "{{ 'no' if ansible_ssh_user | default('None') == 'root' else 'yes' }}"
- name: run common bootstrap tasks
include_tasks: common.yml
vars:
ansible_become: "{{ 'no' if ansible_ssh_user | default('None') == 'root' else 'yes' }}"