Please help to resolve this error
ansible-playbook: error: unrecognized arguments: --snyntax-check
[ec2-user@ansible-engine jinja2]$ ansible-playbook lab27.yaml
PLAY [install vsftpd]
For windows host
How to write tasks in ansible :
1. Login into RDP machine
2. Login into other machines from RDP machine
3. Read email before starting the patching in the scheduled time
4. Run any commands in rdp machine , like below :
5. To shutdown : shutdown /r /f /m \\
6. R
Steps
1. get the latest file name , file name format : '.txt'
2. check the file content , upto line containing AMP , updated with
today's logs
3. archive/compress the file
4. delete the original file
[ansible@ip-172-31-25-114 playbooks]$ cat hmscript.ps1
$dir = "C:\Users\ansible
So basically two users
User1 , user2 user is a sudo user
There are 5 servers : server1 , server2 , server3, server4, server5
We need password less connection from server1 to all other servers
I am facing issue with key password less authnetication
Tha playbook are be executed as sudo user
also while executing the playbook from server1 , shall we execute as user1
or user2 ?
and in inventory shall i mention as user1 or user2
as in playbook, it needs the privileged permission from the sudo user
On Wed, 7 Feb 2024 at 10:35, Sakshi Jain wrote:
> So basically two users
>
&