diff --git a/playbooks/network/f5_new_node.yml b/playbooks/network/f5_new_node.yml new file mode 100644 index 0000000..b0f16c0 --- /dev/null +++ b/playbooks/network/f5_new_node.yml @@ -0,0 +1,18 @@ +--- +- name: BIG-IP SETUP + hosts: lb + connection: local + gather_facts: false + + tasks: + - name: CREATE NODES + bigip_node: + provider: + server: "{{private_ip}}" + user: "{{ansible_user}}" + password: "{{ansible_ssh_pass}}" + server_port: 8443 + validate_certs: false + host: "{{hostvars[item].ansible_host}}" + name: "{{hostvars[item].inventory_hostname}}" + loop: "{{ groups['web'] }}" \ No newline at end of file diff --git a/playbooks/network/new_node.yml b/playbooks/network/new_node.yml index e69de29..b0f16c0 100644 --- a/playbooks/network/new_node.yml +++ b/playbooks/network/new_node.yml @@ -0,0 +1,18 @@ +--- +- name: BIG-IP SETUP + hosts: lb + connection: local + gather_facts: false + + tasks: + - name: CREATE NODES + bigip_node: + provider: + server: "{{private_ip}}" + user: "{{ansible_user}}" + password: "{{ansible_ssh_pass}}" + server_port: 8443 + validate_certs: false + host: "{{hostvars[item].ansible_host}}" + name: "{{hostvars[item].inventory_hostname}}" + loop: "{{ groups['web'] }}" \ No newline at end of file diff --git a/roles/install_demo/vars/main/network/f5_new_node.yml b/roles/install_demo/vars/main/network/f5_new_node.yml new file mode 100644 index 0000000..5c8aee8 --- /dev/null +++ b/roles/install_demo/vars/main/network/f5_new_node.yml @@ -0,0 +1,21 @@ +--- +f5_new_nodes: + author: "David Rojas" + readme: "https://github.com/ansible/product-demos/blob/master/docs/infrastructure/chocolatey_app_install.md" + category: network + name: "NETWORK / f5 New Node" + description: "Define multiple new nodes" + job_type: "run" + inventory: "Workshop Inventory" + playbook: "playbooks/network/f5_new_node.yml" + credential: "Workshop Credential" + survey_enabled: false + project: + name: "Ansible official demo project" + description: "prescriptive demos from Red Hat Management Business Unit" + organization: "Default" + scm_type: git + scm_url: "https://github.com/davidrojas25/product-demos" + workshop_type: + - f5 + - demo \ No newline at end of file