ansible-role-ipa-getcert/README.md

38 lines
1.7 KiB
Markdown
Raw Normal View History

2020-12-19 06:19:07 +00:00
CI Badge
2020-12-19 08:54:17 +00:00
# ipa-getcert Ansible Role
A very basic ipa-getcert role used for certificates issued for internal communication. This assumes the client is enrolled with FreeIPA.
2020-12-20 01:13:50 +00:00
This is loosely based on another project on github with some heavy modifications and adapted for the Rocky Linux infrastructure. In particular, we have made it more modular. This may be used and copied.
2020-12-19 08:54:17 +00:00
2020-12-20 01:13:50 +00:00
**Note**: Note that the certificates should auto-renew when requested via `ipa-getcert`. However. if you turn on the chain, you will have to fix that manually.
2020-12-19 06:19:07 +00:00
## Getting started
Ensure all dependencies are installed and then follow the below process
1. `git clone repo` Get the development repository
2. `pre-commit install` Install the pre-commit hooks
3. Make edits as explained in the customization section
4. `pre-commit` Make sure existing code is good
2020-12-19 08:54:17 +00:00
5. `do development` You know what to do
2020-12-19 06:19:07 +00:00
6. `pre-commit` Make sure the edits are good to go
7. `molecule converge`
## Dependencies
This repo expects 3 things installed on the local machine
1. [pre-commit](https://pre-commit.com/) Methodology to test yaml style
2. [ansible-lint](https://github.com/ansible-community/ansible-lint) lint ansible code for best practices
3. [yamllint](https://github.com/adrienverge/yamllint) Ensures all yaml is well formed
### Customization
2020-12-19 08:54:17 +00:00
If you can come up with a customization to this, go for it!
2020-12-19 06:19:07 +00:00
### Optional
The github actions are configured to automatically run the molecule tests but if you want to load them locally you will also need molecule installed on the development machine
## Advanced
There are numerous other options within the [defaults/main.yml](./defaults/main.yml) that can change other parts of the behavior of the system
## Changelog
The [changelog](./CHANGELOG.md) is stored externally