filmov
tv
Ansible Ad-Hoc Commands || Ansible Modules || Ansible Ad-hoc Commands with Examples | ansible-doc -l
Показать описание
In this video we discussed about ansible ad-hoc commands
to list of all modules
ansible-doc -l
down arrow
ansible-doc -l | grep copy
ansible-doc copy
To list down all the ansible modules command
ansible-doc -l
To find specific module use the grep command
ansible-doc -l | grep copy
To view the document of specific module
ansible-doc copy
to check list of files
to copy file command
ansible target -m yum -a "name=httpd state=latest" --become
ansible target -m service -a "name=httpd enabled=yes state=started" --become
ansible target -m yum -a "name=httpd state=removed" --become
to list of all modules
ansible-doc -l
down arrow
ansible-doc -l | grep copy
ansible-doc copy
To list down all the ansible modules command
ansible-doc -l
To find specific module use the grep command
ansible-doc -l | grep copy
To view the document of specific module
ansible-doc copy
to check list of files
to copy file command
ansible target -m yum -a "name=httpd state=latest" --become
ansible target -m service -a "name=httpd enabled=yes state=started" --become
ansible target -m yum -a "name=httpd state=removed" --become