Ansible Tutorial: Introduction to simple Ansible commands

Ansible Commands CheatSheet

Check the connectivity of hosts

Rebooting hosts

Checking host’s system information

Transferring files

Managing users

Creating a new user

Deleting a user

Changing permissions & ownership

Changing permission of a file

Changing the ownership of a file

Managing Packages

Make sure the package is installed & update it

Make sure the package is installed & don’t update it

Make sure the package is at a specific version

Make sure the package is not installed

Managing services

Starting a service

Stopping a service

Restarting a service

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store