hello all
i need to update /etc/cron.allow on many servers
below is eg
x oracle
y db
x prod
...
..
===
it works for a single node
- name: Add a word in remote file
hosts: temp
remote_user: xx
sudo: yes
tasks:
- name: edit cron.allow
lineinfile:
destfile: /etc/cron.allow
line: 'oracle'
==
how can i do it for huge number of nodes ?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/75fa68be-2a33-4ebb-8e74-c983e320c8ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.