Skip to content

Commit

Permalink
Configure github actions (#18)
Browse files Browse the repository at this point in the history
* Update README

* Run molecule in github actions
  • Loading branch information
mawalu authored Aug 6, 2020
1 parent a54d78e commit 44659c3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 24 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
on: push

jobs:
molecule:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: "${{ github.repository }}"
- uses: mawalu/molecule-action@master
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ wireguard_network_name: "private" # the name to use for the config file and wg-q
wireguard_mtu: 1500 # Optionally a MTU to set in the wg-quick file. Not set by default. Can also be set per host

debian_enable_backports: true # if the debian backports repos should be added on debian machines
debian_pin_packages: true # if the pin configuration to limit the use of unstable repos should be created on debian machines

client_vpn_ip: "" # if set an additional wireguard config file will be generated at the specified path on localhost
client_wireguard_path: "~/wg.conf" # path on localhost to write client config, if client_vpn_ip is set
Expand All @@ -87,7 +86,11 @@ wireguard_post_up: "iptables ..." # PostUp hook command
wireguard_post_down: "iptables" # PostDown hook command
```
## Testing
This role has a small test setup that is created using [molecule](https://github.com/ansible-community/molecule). To run the tests follow the molecule [install guide](https://molecule.readthedocs.io/en/latest/installation.html), ensure that a docker daemon runs on your machine and execute `molecule test`.

## Contributing

Feel free to open issues or MRs if you find problems or have ideas for improvements. I'm especially open for MRs that add support for more operating systems.
Feel free to open issues or MRs if you find problems or have ideas for improvements. I'm especially open for MRs that add support for additional operating systems and more tests.

22 changes: 0 additions & 22 deletions molecule/default/INSTALL.rst

This file was deleted.

0 comments on commit 44659c3

Please sign in to comment.