UNPKG

generator-living-atlas

Version:

A Yeoman Generator for Living Atlas Ansible Inventories

16 lines (15 loc) 869 B
all: vars:<% if (typeof LA_etc_hosts != 'undefined') { %> hosts_entries: | <%- LA_etc_hosts %><% } %> # previously ubuntu without quotes: def_ansible_user: '<% if (typeof LA_variable_ansible_user != 'undefined') { %><%- LA_variable_ansible_user %><% } else { %>ubuntu<% } %>' sudo_defaults: - name: '<% if (typeof LA_variable_ansible_user != 'undefined') { %><%- LA_variable_ansible_user %><% } else { %>ubuntu<% } %>' # https://docs.ansible.com/ansible/2.3/intro_configuration.html#pipelining defaults: '!requiretty' sudo_users: - name: '<% if (typeof LA_variable_ansible_user != 'undefined') { %><%- LA_variable_ansible_user %><% } else { %>ubuntu<% } %>' nopasswd: yes ssh_keys: [ <% if (typeof LA_ssh_keys != 'undefined') { %><%- LA_ssh_keys %><% } %> ] ansible_python_interpreter: /usr/bin/python3