1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2024-11-25 18:07:47 +00:00
Commit graph

131 commits

Author SHA1 Message Date
dependabot[bot]
f2bfd4510d
build(deps): bump yaml from 2.1.3 to 2.2.1 (#69)
Bumps [yaml](https://github.com/eemeli/yaml) from 2.1.3 to 2.2.1.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.1.3...v2.2.1)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 09:12:11 +02:00
Alexander Proschek
076abe6979
Update know_host example (#71) 2023-04-06 09:11:50 +02:00
Dawid Dziurla
5d970176ea
node_modules: upgrade 2022-10-21 16:44:44 +02:00
Angus Clinch
009b88e9b8
Use node16 (#62)
* node16

* dispatch

* remove workflow_dispatch

Co-authored-by: Angus Clinch <ANGUS306@bailliegifford.com>
2022-10-15 09:24:02 +02:00
dependabot[bot]
395cfbcb3d
build(deps): bump yaml from 2.1.1 to 2.1.3 (#58)
Bumps [yaml](https://github.com/eemeli/yaml) from 2.1.1 to 2.1.3.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.1.1...v2.1.3)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-14 08:24:50 +02:00
dependabot[bot]
829ea0fdcf
build(deps): bump @actions/core from 1.9.1 to 1.10.0 (#56)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-14 08:23:01 +02:00
Dawid Dziurla
9f057ae5b5
post: remove arrow 2022-09-01 08:37:48 +02:00
dependabot[bot]
b93f2d337f
build(deps): bump @actions/core from 1.2.7 to 1.9.1 (#54)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.7 to 1.9.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 08:32:07 +02:00
dependabot[bot]
65130696be
build(deps): bump yaml from 1.10.2 to 2.1.1 (#48)
Bumps [yaml](https://github.com/eemeli/yaml) from 1.10.2 to 2.1.1.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v1.10.2...v2.1.1)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 08:31:56 +02:00
dependabot[bot]
e80f589156
build(deps): bump @actions/exec from 1.0.4 to 1.1.1 (#38)
Bumps [@actions/exec](https://github.com/actions/toolkit/tree/HEAD/packages/exec) from 1.0.4 to 1.1.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/exec/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/@actions/tool-cache@1.1.1/packages/exec)

---
updated-dependencies:
- dependency-name: "@actions/exec"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 08:29:06 +02:00
dependabot[bot]
f2818df92e
build(deps): bump actions/checkout from 2 to 3 (#37)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 19:30:40 +02: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
90a22da2b0
README: update 2021-07-26 18:46:29 +02:00
Dawid Dziurla
aefa1cb082
README: update 2021-07-26 18:44:13 +02:00
Dawid Dziurla
ad014132a3
Merge pull request #28 from dawidd6/sudo
main: pass PATH to sudo
2021-07-26 18:37:52 +02:00
Dawid Dziurla
df6f49da3e
main: preserve env - sudo 2021-07-26 18:32:34 +02:00
Dawid Dziurla
95ac226ed8
workflows: test sudo 2021-07-26 18:29:42 +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
Dawid Dziurla
f0b38f33e9
Merge pull request #21 from dawidd6/dependabot-add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-04-29 07:40:46 +02:00
dependabot-preview[bot]
75ae627236
Upgrade to GitHub-native Dependabot 2021-04-28 22:30:47 +00:00
Dawid Dziurla
69990b93b4
Merge pull request #20 from dawidd6/dependabot-npm_and_yarn-actions-core-1.2.7
build(deps): bump @actions/core from 1.2.6 to 1.2.7
2021-04-14 09:14:00 +02:00
dependabot-preview[bot]
3c219bf69c
build(deps): bump @actions/core from 1.2.6 to 1.2.7
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-14 04:54:38 +00:00
Dawid Dziurla
212713722b
Merge pull request #19 from Apreche/host_key_checking
Add support for SSH Host Key Checking
2021-04-04 23:29:36 +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
aad578fcdd
Merge pull request #18 from dawidd6/dependabot-npm_and_yarn-yaml-1.10.2
build(deps): bump yaml from 1.10.0 to 1.10.2
2021-03-15 10:56:05 +01:00
dependabot-preview[bot]
16c5208cd3
build(deps): bump yaml from 1.10.0 to 1.10.2
Bumps [yaml](https://github.com/eemeli/yaml) from 1.10.0 to 1.10.2.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v1.10.0...v1.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-15 04:43:20 +00:00
Dawid Dziurla
1b347b1afe
put test stuff intooo... test/ dir 2021-02-11 17:28:46 +01:00
Dawid Dziurla
0eefa394aa
workflows: always run in test/ dir 2021-02-11 17:28:23 +01:00
Dawid Dziurla
0d7274dc6a
workflows: refactor 2021-02-11 17:24:38 +01:00
Dawid Dziurla
9c19e7ec30
test/playbook: install cowsay via apt 2021-02-11 17:08:44 +01:00
Dawid Dziurla
3c534b3ba0
Merge pull request #15 from dawidd6/requirements
Support installing requirements
2020-12-10 22:34:57 +01:00
Dawid Dziurla
9a7cbd2b6b
main: parse requirements yaml and run appropriate commands 2020-12-09 11:57:43 +01:00
Dawid Dziurla
19d1b2c628
workflows: test installing bundled requirements 2020-12-09 11:57:12 +01:00
Dawid Dziurla
c27fb2d7b1
add requirements-bundle 2020-12-09 11:56:52 +01:00
Dawid Dziurla
7b2f0761a9
package: add yaml 2020-12-09 11:56:40 +01:00
Dawid Dziurla
d270136941
main: install collections and roles from galaxy 2020-12-09 11:36:40 +01:00
Dawid Dziurla
e4d3ccbe7b
workflows: test installing requirements 2020-12-06 17:06:29 +01:00
Dawid Dziurla
a328034622
add example requirements file 2020-12-06 17:06:16 +01:00
Dawid Dziurla
1b9385ee45
main: support installing requirements 2020-12-06 17:06:02 +01:00
Dawid Dziurla
563b73df2f
action: add requirements 2020-12-06 17:05:44 +01:00
Dawid Dziurla
d28d9989a8
Merge pull request #14 from dawidd6/check-file-exists
Check if file exists before unlinking
2020-12-06 16:56:26 +01:00
Dawid Dziurla
81f2a15778
post: check if file exists before unlinking 2020-12-06 16:54:45 +01:00
Dawid Dziurla
145a900758
workflows: test running the action twice 2020-12-06 16:54:32 +01:00
Dawid Dziurla
a90a5a21fa
node_modules: update 2020-11-12 16:41:30 +01:00
Dawid Dziurla
a216fccde8
Merge pull request #10 from dawidd6/dependabot-npm_and_yarn-actions-core-1.2.6
build(deps): bump @actions/core from 1.2.5 to 1.2.6
2020-09-24 10:12:25 +02:00