Ansible Container
In the previous post we looked at running ansible from our PC to perform system tasks on a remote system.
To avoid having to install ansible on the host system it makes more sense to use a container for it though.
In the previous post we looked at running ansible from our PC to perform system tasks on a remote system.
To avoid having to install ansible on the host system it makes more sense to use a container for it though.
Now that I have my container images ready, I can build my site and deploy it.
Let’s make a Jenkins pipeline to handle the deployment.
To host my Hugo generated static site I’ll need a web server.
For this task I have chosen to use nginx.
I am using Hugo to build this website and it made sense for me to automate this.
The first step on that journey is to create a container to use for the static site files generation.