mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-12-29 11:36:08 -07:00
main: install collections and roles from galaxy
This commit is contained in:
parent
e4d3ccbe7b
commit
d270136941
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 New Issue
Block a user