Commit Graph

48 Commits

Author SHA1 Message Date
James Tombleson d14c2aaa2c
Dev (#9)
* docker tests are looking good and nfs is able to connect and containers can talk to each other.

* Added pihole support for a new vm

* pihole is not working yet via docker.  Installed it by hand without ansible for now.

* added some docker related tasks and working on collins now to see how to use it.

* forgot to push some changes... kube didnt work out as it adds too much overhead for what I need.

* added two roles to help working with backup and restore of docker volume data.

* did some cleanup on old roles.

* pushing for axw testing

* moving to requirements.yml. adding cron jobs for maint.

* roles are being moved out of this repo.  Roles are handled by requirements.yml going forward. Dev roles are still in the repo but if they stick around a new repo will be made for it.

* Made a bunch of changes

* fixed a problem

* Added a playbook to deploy grafana and added prometheus role to monitor things.

* Updated cron to test

* Updated cron to test

* Updated cron

* updated discord_webhook and now testing if cron will pick up the changes.

* Fixed plex backup for now.

* docker updates and working on nginx

* pushing pending changes that need to go live for cron testing

* fixed debug roles and updated discord test

* fixed debug roles and updated discord test

* Disabling test cron

* its been awhile... I am not sure what I have done anymore but time to push my changes.

* added newsbot configs, added to jenkins, starting to migrate to collections.

* Updated inventory to support the network changes

* jenkinsfile is now working in my local setup.

* node2 is unhealthy and is removed from inv.  I was doing something to this box months ago, but now i dont remember what it was."

* updated images and adding them to jenkins for testing

* removed the old image files and moved to my public image

* Jenkins will now inform discord of jobs. Added post tasks. Added mediaserver common.

* updated the backend update job and adding a jenkins pipeline to handle it for me.

* updated the backup job again

* Updated all the jekins jobs.  Added a jenkins newsbot backup job.  Adjusted newsbot plays to add backup and redeploy jobs.

* updated newsbot backup playbook to make older backup files as needed.

* Added debug message to report in CI what version is getting deployed.

* I did something stupid and this device is not letting me login for now.

* removing twitter source for now as I found a bandwidth related bug that wont get pushed for a bit

* Adding a bunch of changes, some is cleanup and some are adds

* updated the images

* updated the kube common playbook

* Started to work on ceph, stopped due to hardware resources, updated common, added monit, and starting to work on a playbook to handle my ssh access.

* Added a role to deploy monit to my servers.  Still needs some more updates before its ready

* Here is my work on ceph, it might go away but I am not sure yet.

* Starting to migrate my common playbook to a role, not done yet.

* updated kube and inventory

* updated gitignore
2022-01-28 16:22:11 -08:00
James Tombleson 7cd173afcb Moving all mediaserver tasks to a single playbook 2019-11-04 06:35:24 -08:00
James Tombleson 2aa633d884 migration for mediaserver to docker in testing. mounting the drive looks like its working now 2019-11-03 21:46:19 -08:00
James Tombleson c95f1099a0 Added some Okta work. This lets Ansible become the source of truth soon. Need to work the api module to exact search rather then a fuzzy search. Started to get back into docker to maintain homelab. 2019-10-23 15:54:32 -07:00
James Tombleson 23417a9a01 adding docs to the project given I forgot how to use vault. removed sensu as its not getting used currently 2019-10-20 14:51:10 -07:00
James Tombleson 757bc655f6 AWX is now installing on my ubuntu 18.04. Also added a debug playbook to get a copy of all the ansible variables 2019-10-20 12:36:39 -07:00
James Tombleson 55698826e4 Starting to get back on the saddle... Looking at getting AWX installed at home so I can use that over something like Jenkins... maybe 2019-10-18 19:27:09 -07:00
James Tombleson e9d2d3e52c Vault is now working
Getting closer to having Jenkins run Ansible playbooks.
2019-05-16 15:46:19 -07:00
James Tombleson a26ed9ca32 Adjusted cfg. Changed hosts on Winlogbeat. POC for Jenkins is working 2019-05-14 08:54:40 -07:00
James Tombleson c094921e17 renamed roles 2019-05-07 15:21:33 -07:00
James Tombleson fad12ff06d Did some cleanup
Added heartbeat role
moved scripts to LinuxHelpers repo
Moved old config files to the roles for archive.
2019-05-06 15:50:26 -07:00
James Tombleson d369f84902 Create pull.yml
This is a test file pulled from Ansible docs.
2019-05-03 14:29:01 -07:00
James Tombleson 0339ede65c Update install-jenkins.yml 2019-05-02 07:58:22 -07:00
James Tombleson a941a36d25 Filebeat deploys to linux devices 2019-05-01 16:05:54 -07:00
James Tombleson 10c1d50483 winlogbeat is working
From what I can see dev is now talking to my new server.
2019-05-01 14:20:01 -07:00
James Tombleson fde241d31b Added Windows support for metricbeat 2019-04-30 21:43:04 -07:00
James Tombleson 76e0466edf metricbeat for linux is working
need to add windows installer.
2019-04-30 13:36:32 -07:00
James Tombleson 341caa5a78 Moving metricbeat to a role 2019-04-30 10:03:30 -07:00
James Tombleson 642da849d6 Added Roles
Jenkins
Java
Adding Elastic support for clusters
2019-04-29 16:08:04 -07:00
James Tombleson b7facd7394 Role Adjustments
Added Sensu
Moved default role downloads to ./roles
Added unattended-upgrades
2019-04-29 07:08:11 -07:00
James Tombleson b27e8dda28 Moved Kibana to a role
Untested but should be moved over.
2019-04-26 16:01:55 -07:00
James Tombleson 74c75c3d36 Moving kibana to a role 2019-04-26 12:35:26 -07:00
James Tombleson 79b7a915ac Moving Elastic to a role
Config was updated to find the new ./roles/ folder
splitting the elastic installers into a roles that can be easier to manage
2019-04-25 15:25:52 -07:00
James Tombleson f394ee9781 Updated configs
Trying to find a place to install heartbeat.  I do not think any client devices need to run this service.
2019-04-25 09:29:45 -07:00
James Tombleson bdba44c56d win-metricbeat now checks service status
not finished with winlogbeat but config template is stored for now.
Checking the status of the service to know what order to issue
2019-04-24 15:53:43 -07:00
James Tombleson 0b96124696 Elastic configs for windows hosts is in progress
I am able to deploy metricbeat now to the windows hosts.  Looking at heartbeat again though.
2019-04-24 14:40:05 -07:00
James Tombleson b26a4334bd moving elastic config to a template 2019-04-23 16:13:44 -07:00
James Tombleson 3f49a5fe88 -sigh-
After trying to go down the path of editing the configs with inline I am going to change over to a template file and see if I can get that to work better for me.  At least Elastic will now let me hit the REST.
2019-04-23 12:21:00 -07:00
James Tombleson 305708add3 Update config-metricbeat.yml
Not finished with it.
2019-04-22 15:32:56 -07:00
James Tombleson 02c5a9c632 Big changes to Elastic services
Install-Client and Install-Server are now valid.  They will install what is needed per the hosts file.  Computers in Linux will get client and computers in Elastic will get server.
2019-04-22 15:01:56 -07:00
James Tombleson b4f0af6963 Update install-metricbeat.yml 2019-04-19 16:15:04 -07:00
James Tombleson 8f63118ca2 updates
Comments added to elasticsearch
Config for kibana is now done with ansible
removed the stored config file
metricbeat was added
2019-04-19 12:52:07 -07:00
James Tombleson 6f8d66a2fe Update install-elasticsearch.yml
service will now turn on at system startup.
service will be restarted at the end.
2019-04-19 09:16:55 -07:00
James Tombleson e38755d897 Update install-elasticsearch.yml
adding config updates
2019-04-19 09:07:35 -07:00
James Tombleson 104d8a29d8 Kibana updates
Added config file.
Ansible will copy the config file over to the server.
2019-04-18 14:21:20 -07:00
James Tombleson 35467bf21a Added Kibana yml
Kibana can now be installed.
Updated ElasticSearch.
2019-04-18 13:49:30 -07:00
James Tombleson d000d9616c Added ElasticSearch 2019-04-18 12:02:09 -07:00
James Tombleson 6ffc3201f5 Changes!
Updated Docs
Updated InstallDocker to support Ubuntu dist release
Added some Vagrant support
Adjusting Nagios still
2019-04-18 11:19:08 -07:00
James Tombleson 95de82c0e6 Moved scripts out of the root
Updated installers.
2019-04-17 08:59:24 -07:00
James Tombleson 06e8a0bd5d Working on Nagios Core deployment
renamed powershell installer
2019-04-15 15:58:16 -07:00
James Tombleson b504748e0d fixed pwsh deploy
updated hosts template to support sudo password field
2019-04-15 15:19:23 -07:00
James Tombleson e0b95e9889 Packages can be installed on windows
Found out Brave has a bug in the installer but VSCode works!
2019-04-08 08:39:18 -07:00
James Tombleson d43d21157c windows updates can be parsed
Figured out how to get the returned values back.  Getting into choco now.
2019-04-08 08:21:28 -07:00
James Tombleson 42f7a9f79e added a small shell file to setup ansible on osx 2019-04-07 14:27:08 -07:00
James Tombleson 2293051d22 Updatred the hosts file and starting windows testing
ignoring hosts as sensitive data will be stored in it.  Copy hosts.template to hosts and update the file for local use.
2019-04-07 11:37:31 -07:00
James Tombleson 1921d8e077 docker was installed 2019-04-06 16:59:58 -07:00
James Tombleson 769fc57791 Update InstallDocker.yml
Not finished yet.
2019-04-06 12:18:44 -07:00
James Tombleson bd95a6df37 PowerShell can be installed on Linux 2019-04-06 11:28:01 -07:00