1
0
Fork
You've already forked sta
0
Shell commands to Ansible convertor. When you found the correct commands, but you don't want to manually convert them in the Ansible format. - Project brainstorming
2025年03月14日 14:28:13 +00:00
README.md Add basic dream experience example 2025年03月14日 14:28:13 +00:00

sta

Shell commands To Ansible convertor. When you found the correct commands, but you don't want to manually convert them in the Ansible format. - Project brainstorming.

Dream experience

Considering this random Bash script installing, building and configuring a bunch of things. In the long term, we might imagine this kind of conversion of trivial and advanced conversions to be done.

> cat setup.bash
sudo dnf install git kitty fish -y
sudo dnf config-manager add --repo=...
sudo dnf install ffmpeg
flatpak install org.signal.Signal
git clone https://github.com/something/tobuild.git
cd tobuild
make
sudo make install
command -v tobuild && test -f /opt/tobuild/bin/tobuild
sudo echo "installonly_limit=5" >> /etc/dnf/dnf.conf

Would result in this setup.yml file

- name:Install DNF packagesdnf:name:- git- kitty- fish# TODO: convertion# sudo dnf config-manager add --repo=...- name:Install ffmpeg via DNFdnf:name:- ffmpeg- name:Install Flatpak packagesflatpak:method:username:- org.signal.Signal# TODO convertion# git clone https://github.com/something/tobuild.git# cd tobuild# make# sudo make install# command -v tobuild && test -f /opt/tobuild/bin/tobuild# # sudo echo "installonly_limit=5" >> /etc/dnf/dnf.conf