there is an issue with curl getting the Belden root cert, thus the
setup was completely moved to the playbook.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
The initial start is now moved to the playbook setting NWL jenkins
up. Thus the start/stop playbook does no longer need the initial
parameter as variable.
With it the NWL jenkins docker image was versionized to 0.0.3 and
the jenkins version was updated to the latest version.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
by using shell commands we have more flexibility to clone the repo
using specific ssh keys.
Additionally we provide the passphrase for the ssh key using the
AXW vault.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
the IP of my VM is adapted due to my smartphone acting as gateway
and DHCP server. Thus I made the work easier and change the IP in
the inventory.
For the docker network reconfiguration I used sudo so that we can
use the priviledged mode
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
per default docker uses IP 172.17.0.0/16 which conflicts with the
test network at NetModule. Hence, we reconfigure it to
192.168.5.1/24
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
The production inventory got a new variable called host_name which we use in the
newly added playbook creating an SSH key.
The playbook holds the no_log tag for keeping the execution parts more secure.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
As soon as a virtual machine is ready, we install docker as it gives
the most flexbility for our CI and the docker images are versionized.
Hence, we install docker as main installation package.
We assume that the VM holds the following users:
- root
- superuser (added to sudoers)
- user
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
fixed variable in playbook os-rls.yml and added config file for
the ansible file paths.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>