trying again to add plabook

This commit is contained in:
David Rojas
2020-10-28 11:42:25 -07:00
parent 5da94793fb
commit b0cea59f5f
3 changed files with 57 additions and 0 deletions

View 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'] }}"

View 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'] }}"

View 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