mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-12-27 10:36:09 -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) {
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user