makeporngreatagain.pro
yeahporn.top
hd xxx

Working With Ansible Service Handler

338
  1. Our setup-lb.yml & setup-app.yml playbooks restart apache service whenever will run the playbook even there are no changes made it
  2. We can avoid getting apache service restart we can use service handlers
  3. Modify your playbook accordingly setup-app.yml & setup-lb.yml
  4. Lets add one more playbook to check status of services
    vim check-status.yml
  5. Content of setup-app.yml, Click Here!
  6. Now lets stop apache service on our loadbalancer by:
    ansible -m service -a "name=httpd state=stopped" --become loadbalancers
  7. Now run your playbook with:
    ansible-playbook check-status.yml
Leave A Reply

Your email address will not be published.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.