Commit Graph

17 Commits

Author SHA1 Message Date
H.Hedhly
0689c791d8
Introduce optional support for ansible.cfg (#88)
* Introduce optional support for ansible.cfg

* Add missing ansible.cfg local & remote tests

* Update Readme

* Fix broken local test

---------

Co-authored-by: thehedhly <thehedhly@users.noreply.github.com>
2024-01-17 10:06:09 +01:00
Brooks Swinnerton
671974ed60
Add ability to turn off colored output (#32)
* Add Action input to control colored Ansible output

* Update main.js

Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2021-08-01 17:03:21 +02:00
Brooks Swinnerton
00e2fc8809
Capture output of stdout and stderr to Actions (#30)
* Capture output of stdout and stderr to Actions

* Remove type descriptors

Whoops! This isn't typescript

* Remove semicolons

* Rename cmd to args

* Separate command from arguments to exec

* Revert "Rename cmd to args"

This reverts commit 98591e5513.

* Append stdout and stderr to string, then log

* Consolidate stdout and stderr into single output

* Move base command back to cmd variable

* Embed execOptions as parameter to exec
2021-07-31 18:13:50 +02:00
Dawid Dziurla
fbcc2c2bae
main: fix 2021-07-26 20:45:05 +02:00
Dawid Dziurla
490a9e7da1
main: put ssh option in quotes 2021-07-26 20:35:00 +02:00
Dawid Dziurla
e959e707d3
main: simplify known hosts logic 2021-07-26 20:24:44 +02:00
Dawid Dziurla
df6f49da3e
main: preserve env - sudo 2021-07-26 18:32:34 +02:00
Dawid Dziurla
163a4d1959
main: pass PATH to sudo 2021-07-26 18:25:55 +02:00
obbiondo
03f941b221
Add sudo option for root access (#16)
Co-authored-by: ANDREA BIONDO s291512 <s291512@studenti.polito.it>
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2021-07-19 17:49:48 +02:00
Scott Rubin
d45b74f42d Add support for SSH Host Key Checking
By default it seems that SSH host key checking has been disabled. This
patch makes it optional. If a variable named known_hosts is passed in,
the key checking will be enabled. The variable should contain the
complete contents of the known_hosts file, which must contain the public
key(s) of the host(s) in the inventory.
2021-04-04 16:51:46 -04:00
Dawid Dziurla
9a7cbd2b6b
main: parse requirements yaml and run appropriate commands 2020-12-09 11:57:43 +01:00
Dawid Dziurla
d270136941
main: install collections and roles from galaxy 2020-12-09 11:36:40 +01:00
Dawid Dziurla
1b9385ee45
main: support installing requirements 2020-12-06 17:06:02 +01:00
Dawid Dziurla
83c93acd55
main: save directory to state 2020-05-14 20:13:55 +02:00
Dawid Dziurla
9fa54a34c7
main: save filenames in state 2020-05-07 11:42:10 +02:00
Dawid Dziurla
c667c001c3
main: replace all newlines 2020-05-03 12:50:24 +02:00
Dawid Dziurla
fd56a2ad58
rewrite in javascript 2020-05-03 11:55:12 +02:00