How do I execute instructions on a control node in Ansible?

Asked 2 years ago, Updated 2 years ago, 101 views

We believe that the destination of the instructions in Ansible is basically the target node listed in the inventory file.
For example, when you specify a path on a copy module, you must also specify a path on the target node.

How do I execute these instructions on the control node itself (the server on which Ansible is installed)?

python ansible

2022-09-29 22:34

1 Answers

Local Playbook, such as delegate_to:localhost to localhost.


2022-09-29 22:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.