* 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.
22 lines
748 B
YAML
22 lines
748 B
YAML
---
|
|
# Tasks related to starting ansible-pull
|
|
# EG: Start timer, kill conflicting jobs, etc
|
|
|
|
- name: General | Start | Ansible Pull Report | Start File
|
|
shell: "echo 'START' > {{ ansible_pull_report }}"
|
|
when: leet_drive_details.stat.exists
|
|
|
|
- name: General | Start | Ansible Pull Report | Add Provision Variables
|
|
shell: "echo '{{ provision_variables }}' >> {{ ansible_pull_report }}"
|
|
when: leet_drive_details.stat.exists
|
|
|
|
- name: General | Start | Ansible Pull Report | Make Viewable (SSHFS)
|
|
file:
|
|
path: "{{ ansible_pull_report }}"
|
|
mode: '0777'
|
|
when: leet_drive_details.stat.exists
|
|
|
|
- name: General | Start | Ansible Pull Report | Add Date Entry
|
|
shell: "date >> {{ ansible_pull_report }}"
|
|
when: leet_drive_details.stat.exists
|