Do all Ansible modules mentioned in Playbook tasks actually run on the remote host machine?

0 votes
Do all Ansible modules mentioned in Playbook tasks actually run on the remote host machine?
Feb 9 in Ansible by Shruti
25 views

1 answer to this question.

0 votes

Hey @Shruti, ansible tasks run on the hosts that are (explicitly) specified; if you've specified a remote host, they're run on the remote host, but if you've specified localhost, they're run on localhost

answered Feb 9 by Monish

Related Questions In Ansible

0 votes
1 answer

How do I execute a shell script and then use the result in ansible

This can work out for you: - name: ...READ MORE

answered Apr 11, 2018 in Ansible by shubham
• 6,870 points
457 views
0 votes
1 answer
0 votes
2 answers

How do you stop Ansible from creating .retry files in the home directory?

[defaults] ... retry_files_enabled = True # Create them ...READ MORE

answered Apr 5 in Ansible by anonymous
584 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer
0 votes
3 answers