mac-dev-playbook
ansible-job-report
Our great sponsors
mac-dev-playbook | ansible-job-report | |
---|---|---|
20 | 13 | |
5,781 | 102 | |
- | - | |
4.4 | 0.0 | |
about 1 month ago | 7 months ago | |
Shell | HTML | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mac-dev-playbook
-
Linus Torvalds statement
To get your Linux ready to use after a fresh install you might have an Ansible playbook to get the system ready to go with all the tools you need.
-
Optimal way to backup Macs without Time Machine
Not public. But you can search YouTube for geerlingguy and Ansible Mac. I got the idea from him https://github.com/geerlingguy/mac-dev-playbook
- How would you set up your work laptop differently if you had to do it again?
-
A configuration management system for pets, not cattle
This is how I set up my Mac as well; just a local connection. Sets up out of box Mac in about 15 minutes and I can keep my two Mac's configs in perfect sync: https://github.com/geerlingguy/mac-dev-playbook
-
Anyone have a checklist/plan for when they migrate to a new Mac and do a fresh install?
One way I have seen is to use Ansible and a playbook - Jeff Geerling does this here but that's a bit OTT for me.
-
Getting my first Mac from work. What are some good work related apps to try out?
Jeff Geerling has a Mac Dev PlayBook repo that is pretty close to how I would build my system.
-
Trying to automate the “Automatically hide and show the menu bar in full screen” setting.
There is, I use this with some of my own customizations https://github.com/geerlingguy/mac-dev-playbook
-
Your favorite automated method for duplicating your setup on a new machine?
If you go down the route of using Ansible, this is a very complete script for Mac OS. Even if you don't use it, you can see how many useful apps can be installed (mac-dev-playbook)[https://github.com/geerlingguy/mac-dev-playbook]
-
Script to setup all dev tools in a local environment
If you go down the route of using Ansible, this is a very complete tool for Mac OS. Even if you don't use it, you can see how many useful apps can be installed mac-dev-playbook And if Ansible if just too much, try this simple way to code, document, and replay bits of your installation scripts with this tool I wrote recently and use to deploy systems daily. markdown_exec
-
Ask HN: How do you sync your computers development configurations/environment?
I symlink a few files in place via Dropbox, but have most of my local configs in a dot files repo: https://github.com/geerlingguy/dotfiles
Then for more systemwide configuration, I have an Ansible playbook I run every now and then (configures apps, dock item order, etc): https://github.com/geerlingguy/mac-dev-playbook
ansible-job-report
-
Gathering a set_fact on hosts and combining to a single dictionary for an html report
If you want an example of this in action, I made an example that does what you are describing.
-
How would I get a list of IP addresses of failed hosts and details?
If you want custom feedback of job status, I have employed this method before. It's a little cumbersome for everyday use, but for big or important jobs it's one way to get a custom report of task output and host failures. Or if you're feeling extra, you can do the full version.
-
What are you using for patch management?
For RHEL servers, we use reposync to mirror patches locally, and then install them with yum. We drive the process with a series of Ansible playbooks. We have some optional host vars or group vars we can declare to tune the patching behavior per-host, or to handle custom patching scenarios. Our patching process generates a report similar to this one.
-
Linux Patching
I uploaded a stripped-down version of it here, if you need ideas. More details and examples here.
-
Help with getting outputs from Ansible into a file with good output
I made something similar a while back to report on patch activity; try this example for some ideas.
-
Controlled and staggered patching
To generate a patch report, one option is to use a jinja template to compile an HTML-formatted email. For a working example to play with, see this github.
-
using ansible_facts for reporting
You can generate a "pretty" HTML report using a Jinja template. This github example may be a little overkill for your needs, but it shows how you can assemble a report with per-host facts and task status using Jinja templates.
- Sending Email with Pending Updates
-
You did WHAT with Ansible?! Automate the Uncommon (my AnsibleFest 2021 Presentation)
As you mentioned, using Jinja to generate HTML for job reports. When renovating our script-based patching process for Linux, we had to choose between Redhat Satellite and rolling our own. We found that Satellite was overkill for our needs, and not worth the maintenance fuss and licensing costs. The biggest draw of Satellite for management was reporting... so I tortured Jinja into making a pretty CSS-styled report at the end of our patching playbook. Everyone is happy, and we have one less tool to maintain!
-
Generating a List of Pending Updates
For our patch reporting, we run the yum check-update command and put the output in an HTML template that is emailed to groups. The report we assemble is similar to this.
What are some alternatives?
strap - 👢 Bootstrap your macOS development system.
raspberry-pi-dramble - DEPRECATED - Raspberry Pi Kubernetes cluster that runs HA/HP Drupal 8
ansible-betterbird - [DISCONTINUED] A fully automated build script for Betterbird using Ansible.
ara - ARA Records Ansible and makes it easier to understand and troubleshoot.
mac-setup-script - script to setup my mac
drupal-pi - Drupal on Docker on a Raspberry Pi. Pi Dramble's little brother.
sol-deploy - solana deployment tool to deploy solana application via ansible using AWS EC2 autoscaling group
ansible-requirements-updater - Update your requirements.yml with this grisly Ansible playbook.
CIS-Ubuntu-20.04-Ansible - Ansible Role to Automate CIS v1.1.0 Ubuntu Linux 18.04 LTS, 20.04 LTS Remediation
ansible - Ansible playbook for bootstrapping macOS/Linux workstations and managing dotfiles.
store-ansible-facts - Stores ansible facts for later analysis or archiving