trying again to add plabook
This commit is contained in:
18
playbooks/network/f5_new_node.yml
Normal file
18
playbooks/network/f5_new_node.yml
Normal file
@@ -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'] }}"
|
||||
@@ -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'] }}"
|
||||
21
roles/install_demo/vars/main/network/f5_new_node.yml
Normal file
21
roles/install_demo/vars/main/network/f5_new_node.yml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user