Hacker News new | ask | show | jobs
by dig1 1581 days ago
Also there is ansible-console [1] REPL, from which you can run ansible or shell commands, which are executed on multiple hosts.

[1] https://docs.ansible.com/ansible/latest/cli/ansible-console....

1 comments

I wasn't aware of that, pretty cool.

Now if only there was some way to have that ansible repl create roles or tasks based on the commands I run through that repl. Kinda how script[1] works.

[1] https://www-users.cse.umn.edu/~gini/1901-07s/files/script.ht...