Commit Graph

12 Commits

Author SHA1 Message Date
Marc Mattmüller c1216d0d7d inventory: added netmodule-01 as host to inventory
Added this host for doing tests with multiple hosts

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-07-18 10:43:14 +02:00
Marc Mattmüller 9920d1d9b4 inventory: switching the host to a server in the HAC network
The created server for the conceptional work of the CoreOS CI is
currently available but not much used. Thus, I switched the host
of the inventory to this server. With it it should be possible to
clone a repository, build and launch a docker image.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-12 17:52:19 +02:00
Marc Mattmüller 3216c8d0f6 inventory,playbook/conf-docker-net: changed the VM ip and used sudo
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>
2023-06-12 12:00:23 +02:00
Marc Mattmüller f691f5206c playbooks;inventory: added variable to production.yaml and added create-ssh-key playbook
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>
2023-06-06 13:48:22 +02:00
Marc Mattmüller c37bd6f380 playbooks,inventory: added playbook installing basic tools on a VM
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>
2023-05-15 18:18:19 +02:00
Marc Mattmüller ea59c88fe0 inventory/production: add data type ending
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-09 13:30:31 +02:00
Marc Mattmüller 616c35f9b1 inventroy/production: reformatted the content
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-09 13:26:40 +02:00
Marc Mattmüller 777d708883 inventory: removed subdirectory and renamed ci to production
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-09 13:22:00 +02:00
Marc Mattmüller 118b75408d inventroy,playbooks: arranged files in subdirectories
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-09 12:02:29 +02:00
Marc Mattmüller 8b9d480e26 inventory: added IP address of newly created VM
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-08 17:14:21 +02:00
Marc Mattmüller add58c392f inventory: renamed inventory
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-02 13:25:52 +02:00
Marc Mattmüller 740a647460 doc,ansible: documented setup of AWX, added structure for a first playbook
Documented the setup of an AWX instance using docker-compose.
Added a first playbook including inventory

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-02 12:40:20 +02:00