Update file executable_install-program
This commit is contained in:
parent
459cc2f775
commit
fdcec1031a
1 changed files with 2 additions and 1 deletions
|
@ -680,7 +680,8 @@ async function beforeInstall(packageManager) {
|
||||||
unbufferPrefix = 'unbuffer'
|
unbufferPrefix = 'unbuffer'
|
||||||
}
|
}
|
||||||
if (osPlatform === 'darwin' || osPlatform === 'linux' || osPlatform === 'windows') {
|
if (osPlatform === 'darwin' || osPlatform === 'linux' || osPlatform === 'windows') {
|
||||||
await $`ANSIBLE_CONFIG=${process.env.HOME}/.local/share/ansible/ansible.cfg ${unbufferPrefix} ansible 127.0.0.1 -e '{ ansible_connection: "local", ansible_become_user: "${process.env.USER}", ansible_user: "${process.env.USER}", ansible_family: "${osPlatform}", install_homebrew: False }' -m setup`
|
const capitalOsPlatform = osPlatform.charAt(0).toUpperCase() + osPlatform.slice(1)
|
||||||
|
await $`ANSIBLE_CONFIG=${process.env.HOME}/.local/share/ansible/ansible.cfg ${unbufferPrefix} ansible 127.0.0.1 -e '{ ansible_connection: "local", ansible_become_user: "${process.env.USER}", ansible_user: "${process.env.USER}", ansible_family: "${capitalOsPlatform}", install_homebrew: False }' -m setup`
|
||||||
} else {
|
} else {
|
||||||
log('warn', 'Ansible', 'Unsupported platform - ' + osPlatform)
|
log('warn', 'Ansible', 'Unsupported platform - ' + osPlatform)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue