Ansible Playbook examples

Write a Ansible Playbook to create a group called “deploy” 2.Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. 3. Write a Ansible Playbook to install package named “httpd” in RHEL/centos. 4. Write a Ansible Playbook to start and enable the service named “httpd” 5. Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents. 6. Write a Ansible Playbook to

Read more

Ansible playbook

Write a Ansible Playbook to create a group called “deploy” Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. Write a Ansible Playbook to install package named “httpd” in RHEL/centos. Write a Ansible Playbook to start and enable the service named “httpd” Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents. Write a Ansible Playbook to reboot a self machine.

Read more

Selfnote of ANSIBLE PLAYBOOK –

Write a Ansible Playbook to create a group called “deploy” : Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell : Write a Ansible Playbook to install package named “httpd” in RHEL/centos : Write a Ansible Playbook to start and enable the service named “httpd” : Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents : Write a Ansible Playbook

Read more

Ansible Playbooks

1.Write a Ansible Playbook to create a group called “deploy” .2.Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. 3.Write a Ansible Playbook to install package named “httpd” in RHEL/centos. 4. Write a Ansible Playbook to start and enable the service named “httpd” 5. Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents. 9. Write a Ansible Playbook to reboot

Read more

Ansible playbooks

write a ansible playbook to create a group called “deploy”. $ ansible to create a playbook name = deploy 2.write a ansible playbook to create a user called “deploy user” which is part of group called ” deploy” and with/bin/bash/shell. $ ansible to create user =”deploy user” group = “deploy” src=/bin/bash/shell 3.write a ansible playbook to install package named “httpd” in RHEL/centos. $ ansible install package named = “httpd” dest= RHEL/centos 4.write a ansible playbook to start and enable the

Read more

Ansible Playbook Lab

Write a Ansible Playbook to create a group called “deploy” Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. Write a Ansible Playbook to install package named “httpd” in RHEL/centos. Write a Ansible Playbook to start and enable the service named “httpd” Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents. Write a Ansible Playbook to reboot a self machine.

Read more

Ansible Playbook Programs

1.Write a Ansible Playbook to create a group called “deploy 2.Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. 3.Write a Ansible Playbook to install package named “httpd” in RHEL/centos 4.Write a Ansible Playbook to start and enable the service named “httpd” 5.Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents. 6.Write a Ansible Playbook to reboot a self machine.

Read more

Ansible playbook Excercise

Write a Ansible Playbook to create a group called “deploy” Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. Write a Ansible Playbook to install package named “httpd” in RHEL/centos. Write a Ansible Playbook to start and enable the service named “httpd” Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents. Write a Ansible Playbook to reboot a self machine.

Read more

Ansible Playbooks

Write a Ansible Playbook to create a group called “deploy” 2.Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. 3. Write a Ansible Playbook to install package named “httpd” in RHEL/centos. 4. Write a Ansible Playbook to start and enable the service named “httpd” 5. Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents. 6. Write a Ansible Playbook to

Read more

PLAYBOOK – ANSIBLE

Write a Ansible Playbook to create a group called “deploy” 2. Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. 3. Write a Ansible Playbook to install package named “httpd” in RHEL/centos. 4. Write a Ansible Playbook to start and enable the service named “httpd”. 5. Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents. 6. Write a Ansible Playbook

Read more

Ansible Playbook Programs

Write a Ansible Playbook to create a group called “deploy” Program 2 – Write a Ansible Adhoc Commands to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. 3.Write a Ansible Adhoc commands install package named “httpd” in RHEL/centos. Program 4 – Write a Ansible Adhoc commands to start and enable the service named “httpd” Program 5 – Write a Ansible commands to create a file called “index.html” in /var/www/html with some dummy

Read more

selfnotes-ansible/playbook

1.Write a Ansible Playbook to create a group called “deploy” 2.Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. 3.Write a Ansible Playbook to install package named “httpd” in RHEL/centos. Install Apache name=httpd 4.Write a Ansible Playbook to start and enable the service named “httpd” 5.Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents. 6.Write a Ansible Playbook to reboot

Read more

Ansible Adhoc Commands

Write a Ansible Adhoc Commands to create a group called “deploy“ $ ansible all -m ansible.builtin.group -a”name=deploy state=present” Write a Ansible Adhoc Commands to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. $ ansible all -m ansible.builtin.user -a”name-=deploy-user shell=/bin/bash group=deploy” Write a Ansible Adhoc commands to start and enable the service named “httpd” $ansible all -m ansible.builtin.service -a “name=httpd state=started” Write a Ansible commands to install a package called “git”, “wget”. $ansible

Read more

Ansible Commands

Program 1 – Write a Ansible Adhoc Commands to create a group called “deploy“ Program 2 – Write a Ansible Adhoc Commands to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. Write a Ansible Adhoc commands install package named “httpd” in RHEL/centos. Program 4 – Write a Ansible Adhoc commands to start and enable the service named “httpd” Program 5 – Write a Ansible commands to create a file called “index.html” in

Read more

Ansible Adhoc Commands Excercise –

Write a Ansible Adhoc Commands to create a group called “deploy : Write a Ansible Adhoc Commands to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. Write a Ansible Adhoc commands install package named “httpd” in RHEL/centos. Write a Ansible Adhoc commands to start and enable the service named “httpd” Write a Ansible commands to create a file called “index.html” in /var/www/html with some dummy html contents. Write a Ansible commands to

Read more

Basic Commands In Ansible

Program 1 – Write a Ansible Adhoc Commands to create a group called “deploy” $ ansible -m groupadd -a”name=deploy “ Program 2 – Write a Ansible Adhoc Commands to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. $ ansible -m usseradd -a”name=deploy-user group=deploy” 3. Ansible Adhoc commands install package named “httpd” in RHEL/centos. $ ansible localhost -m yum -a “name=httpd state=present”  4. Ansible Adhoc commands to start and enable the service named

Read more

Ansible Adhoc commands

Ansible Adhoc commands for create an group called deploy  Write a Ansible Adhoc Commands to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell.  Write a Ansible Adhoc commands install package named “httpd” in RHEL/centos.  Write a Ansible Adhoc commands to start and enable the service named “httpd” Write a Ansible commands to create a file called “index.html” in /var/www/html with some dummy html contents.  Write a Ansible commands to copy a file

Read more

Ansible Adhoc Commands For Specified Tasks

Program 1 – Write a Ansible Adhoc Commands to create a group called “deploy“ Program 2 – Write a Ansible Adhoc Commands to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. Program3 -Write a Ansible Adhoc commands install package named “httpd” in RHEL/centos. Program 4 – Write a Ansible Adhoc commands to start and enable the service named “httpd” Program 5 – Write a Ansible commands to create a file called “index.html”

Read more
1 80 81 82 83 84 185