How to use varianbles in ansible?
Vars A variable could be, for example: Variable names Ansible has certain restrictions on the format of variable names: In addition, you can create dictionaries with variables (in YAML format):…
Vars A variable could be, for example: Variable names Ansible has certain restrictions on the format of variable names: In addition, you can create dictionaries with variables (in YAML format):…
Sometimes it happens that system administrators forget the superuser password or, for example, a server which there is no information. In these cases, we need to figure out what kind…
A playbook (script file) is a file that describes the actions to be performed on a group of hosts. Inside the playbook: play is a set of tasks to be…
In this post I want to explain you about ansible modules. Along with the installation of ansible, a large number of modules (module library) are also created. The module library…
With ad-hoc command you can run some Ansible action from the command line. An example ad-hoc command: This option basically is used in cases where you need to check something,…
Works without installing an agent on managed hosts Uses SSH to connect to managed hosts Performs changes using Python modules that run on managed hosts Can perform actions locally on…