Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1019 Bytes

File metadata and controls

46 lines (29 loc) · 1019 Bytes

Role Executor CLI Tool

Description

A CLI tool for managing server tasks. This tool integrates with Ansible and provides a dynamic set of commands for various host groups.

Prerequisites

Install Rust and Cargo

Before you can use this CLI tool, you need to install Rust and Cargo on your system. To do so, you can run the following command:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Then restart your shell or run source $HOME/.cargo/env.

Install the CLI tool via Cargo

You can install the Rollit CLI tool using Cargo with the following command:

cargo install rollit

Usage

Managing Hosts

rollit hosts create  # create a new hosts.ini file
rollit hosts edit    # open the hosts.ini file in the default editor

Managing Host Groups

rollit {server_group} install caddy  # install Caddy web server on the selected host group
rollit {server_group} user add {username}  # add a new user to the server

License

MIT