Roles steps
Info
All ansible roles in this collection follow the same skeleton to facilitate understanding of code reviewers and operators. Here is an explanation of these phases
Prepare
Preparation include all tasks needed to ensure that the true installation will be successful. That could imply:
- Version pinning
- Archive downloading
- System user/group creation
- ...
Install
Installation include all tasks to ensure that:
- ... executables are into their right place
- ... executables bear the right permissions and ownership
- ... they will be available to run
Configure
Configuration include all tasks to ensure that the service:
- ... is well configured according to the platform design
- ... is registered as a system service
- ... is reboot-proof
Ignite
Some services, once up, need to be queried at runtime to ignite them with the right data to fit with the platform design.
That phase might be a once-and-for-all run. They could take the form of:
- API queries
- CLI commands
For example:
- Creating an OAuth2 Application Provider for Git Repository integration once Identity Provider is up.
- Creating a delegation token between Git Repository and Continuous Deployment services.
- ...