Ansible Playbook to create a Load Balancer

0 votes
Can I have the playbook for creating a new Load Balancer on AWS? Thank you
Mar 25 in Ansible by Himanshu

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey @Himanshu, you can try something like this:

- name: Create the ELB only listening over port 80
  name: nickhammond-load-balancer
    state: present
    region: us-west-1
      - us-west-1a
      - us-west-1b
      - protocol: http
        load_balancer_port: 80
        instance_port: 80
  register: elb
answered Mar 25 by Jack

Related Questions In Ansible

0 votes
1 answer

devops , how to create user using ansible playbook

root doesn't need a password to switch ...READ MORE

answered Jul 16, 2018 in Ansible by Kalgi
• 2,620 points
0 votes
1 answer
0 votes
1 answer

Ansible playbook to wget a file

Hey @Celia, one recommendation, try not using ...READ MORE

answered Jan 16 in Ansible by Vaishu
0 votes
1 answer
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Playbook to create a VM on Azure

Hey @Bob, try something like this to ...READ MORE

answered Mar 26 in Ansible by Jason

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.