mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-22 15:32:18 +00:00
main: install collections and roles from galaxy
This commit is contained in:
parent
e4d3ccbe7b
commit
d270136941
1 changed files with 2 additions and 1 deletions
3
main.js
3
main.js
|
@ -25,7 +25,8 @@ async function main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (requirements) {
|
if (requirements) {
|
||||||
await exec.exec("ansible-galaxy", ["install", "-r", requirements])
|
await exec.exec("ansible-galaxy", ["role", "install", "-r", requirements])
|
||||||
|
await exec.exec("ansible-galaxy", ["collection", "install", "-r", requirements])
|
||||||
}
|
}
|
||||||
|
|
||||||
if (key) {
|
if (key) {
|
||||||
|
|
Loading…
Reference in a new issue