Add Git Server To Keep ansible-pull Traffic Local (#21)

* Fedora Minimal does not come with tar. Need installed for Telegraf.

* First attempt at automating HTTP git server setup.

* Add cron jobs to keep projects up to date.

* Add new git playbook to server.

* Add new server variables for git. Put all variables in a dictionary.

* Put variables into run file.

* Fix the loop variables to be dictionaries, not jinja.

* Upgrade nanominer.

* Attempt to fix templating error.

* Attempt to fix templating error, but in the right spot this time. :)

* Attempt another fix for building list of dictionaries.

* Change strings to dicts.

* Add quotes for jinja variables.

* Remove extra curly brackets.

* Fix the rest of the file's dictionaries now that General works.

* Remove testing code.

* Variablize ansible repo. Begin watching personal repos rather than pinging GitHub.

* Fix variables to append, not replace.

* Fix variable names.

* Try to prevent variables from being strings, without getting formatting error.

* Try to fix variables, again.

* Fixed git.yml. Found a way to test locally and all is working now.
This commit is contained in:
2021-12-24 14:55:21 -06:00
committed by GitHub
parent 98f24fbbef
commit 451e76559d
10 changed files with 267 additions and 105 deletions

View File

@ -10,6 +10,13 @@
st_install_dir: /usr/local/src/st
global_bin: /usr/local/bin
x_desktops: /usr/share/xsessions
repo_github: https://github.com/Hyperling/ansible.git
repo_local: https://git.hyperling.com/ansible.git
- name: General | Facts | System | Dev
set_fact:
repo_local: https://git.hyperling.com/ansible-dev.git
when: branch == "dev"
- name: General | Facts | System | Linux

View File

@ -33,7 +33,7 @@
- name: Miner | Facts | System | nanominer 1
set_fact:
nanominer_home: "{{ user_mfn.home }}/nanominer"
nanominer_version: "3.4.3" # Download link: https://github.com/nanopool/nanominer/releases
nanominer_version: "3.5.2" # Download link: https://github.com/nanopool/nanominer/releases
nanominer_script: "{{ user_mfn.home }}/nanominer.sh"
- name: Miner | Facts | System | nanominer 2