|8 days ago||3 days ago|
|GNU General Public License v3.0 only||GNU General Public License v3.0 only|
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.
How should I improve my usage of while loop with break?
1 project | reddit.com/r/bash | 2 Dec 2021
Note this gotcha about this approach.
bash scripting beginner problem
1 project | reddit.com/r/commandline | 1 Dec 2021
Best bash frameworks/addons
6 projects | reddit.com/r/bash | 1 Dec 2021
1 project | reddit.com/r/commandline | 30 Nov 2021
You might do well to download shellcheck which is basically a linter for bash scripts and is invaluable for pointing out mistakes like this and many others.
Fedora Bash Script
1 project | reddit.com/r/bash | 29 Nov 2021
Before going in to look at you're code, I'd always recommend checking to see what shellcheck says about a script -- it can help both clean your script up, as well as help show you why something is wrong/illadvised.
Help with curl and grep summation
1 project | reddit.com/r/bash | 28 Nov 2021
You have a lot of errors. I encourage you to run through shell check to learn why some things aren't working.
Shell [Scripting] Style Guide
3 projects | news.ycombinator.com | 26 Nov 2021
Following a style guideline is really important in scripts. But, having your scripts checked by ShellCheck  is really mandatory. Can’t imagine to write any script without it.
if multiple conditions
1 project | reddit.com/r/bash | 25 Nov 2021
Here's what shellcheck says:
Do you write shellscripts in zsh, but don’t know shellcheck yet? Check out my newest 5 minute intro video
2 projects | reddit.com/r/zsh | 25 Nov 2021
Also if you go to https://www.shellcheck.net and enter a script with zsh in the shebang, you get this:2 projects | reddit.com/r/zsh | 25 Nov 2021
The first warning here: https://github.com/koalaman/shellcheck/blob/master/doc/terminal.png
Building Immutable Infrastructure with Packer and GitLab CI
2 projects | dev.to | 4 Dec 2021
Provisioners are tools that can be used to install software and configure it in generated images. Shell scripts and tools like Ansible, Chef and Puppet can be used for provisioning.
Dynamic Inventory Plugin
1 project | reddit.com/r/ansible | 2 Dec 2021
RHEL and Azure Update Management with local yum repo - Newbie sysadmin needs input on architecture
1 project | reddit.com/r/redhat | 29 Nov 2021
Pick something like ansible, and group your servers by wave. Write one playbook to run updates and either schedule it on a remote server, or run from your workstation. This is do-able in a day, provides the automation you're looking for, and costs nothing. Plus you get the benefits of starting an infrastructure as code library for your internal systems ;).
Backup for Linux
2 projects | reddit.com/r/linux4noobs | 29 Nov 2021
For a server, I would consider whether it makes more sense to use tools such as Ansible with which you can perform a new installation quickly and always immediately.
Does anyone else find Ansible's docs extremely hard to navigate?
2 projects | reddit.com/r/ansible | 19 Nov 2021
filters and tests are a WIP https://github.com/ansible/ansible/pull/74963
Stacked changes: how FB and Google engineers stay unblocked and ship faster
12 projects | news.ycombinator.com | 17 Nov 2021
As the parent poster well knows (as they invented it) the trick here is that you write your jobs to install from a checkout the CI system does for you.
is really nice practical example. What it does isn't even really that important; but it runs a simulation of deploying production code in OpenDev. This is a "devel" job, we deliberately test any changes against all the latest HEADS of the master/main/development branches of projects we use. This is a non-voting job -- a heads up that what you're introducing might be fine now, but there is trouble brewing when our dependencies release their next version. Sometimes that's fine and a known issue, or upstream is broken, and other times it's something totally unique and needs to be fixed (this is why, despite AI being able to write code for you, so far the implications of using that code still need a human in the loop :)
The "required-projects" tells Zuul what repositories this test needs.
You can clearly see how it handles various projects having "devel", "main" or "master" branches to pull from to get their latest versions.
In the "vars" you can see we're setting variables that get passed to the job roles flagging "this is the devel job, don't install the latest release but use the source Zuul will checkout for you from here".
The amazing thing? If I make a change and this job fails, I may debug it and find that it wasn't actually my fault, but something in upstream Ansible committed recently. I can propose the fix upstream. They do all their CI, and that's fine. But I now put in my change comment
and magically Zuul will recognise that I want to apply that pull request to the Ansible tree in testing and set it up for me (as noted, Zuul can do this for all sorts of systems, not just github). Additionally, Zuul will not merge the change until the dependency is satisfied -- I can NOT commit broken code!
Feedback Wanted: New design of Ansible module documentation pages
2 projects | reddit.com/r/ansible | 16 Nov 2021
Thanks for this! I've added it to a general accessibility audit issue we have - https://github.com/ansible/ansible/issues/73510
Best Manage Dotfiles? Pros and Cons?
1 project | reddit.com/r/linuxquestions | 10 Nov 2021
That being said, my recommendation is to look into Ansible -- https://www.ansible.com/. It's syntax is trivial and the greatest advantage is that you only need ssh and Python on the remote system and you're good to go. Even if you don't have root access, if you have ssh you should be able to deploy your configuration files. As a templating engine, Ansible uses Jinja2, which is also quite easy to start with.
Question about ansibles
1 project | reddit.com/r/Fantasy | 10 Nov 2021
Ansible network_cli against an unsupported vendor
1 project | reddit.com/r/ansible | 2 Nov 2021
They are kind of described here - https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/terminal/__init__.py
What are some alternatives?
Cloud-Init - unofficial mirror of Ubuntu's cloud-init
pyinfra - pyinfra automates infrastructure super fast at massive scale. It can be used for ad-hoc command execution, service deployment, configuration management and more.
Fabric - Simple, Pythonic remote execution and deployment.
Home Manager using Nix - Manage a user environment using Nix [[email protected]]
(R)?ex - Rex, the friendly automation framework
pexpect - A Python module for controlling interactive programs in a pseudo-terminal
psutil - Cross-platform lib for process and system monitoring in Python
SaltStack - Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
cloudinit - Official upstream for the cloud-init: cloud instance initialization
Pulumi - Pulumi - Modern Infrastructure as Code. Any cloud, any language 🚀
GNU Stow - GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches
Docker Compose - Define and run multi-container applications with Docker