-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathraw_enable.yml
executable file
·40 lines (37 loc) · 1.47 KB
/
raw_enable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
#
# Copyright (c) 2016 F5 Networks
# All rights reserved.
#
# author: Mark Lowcher F5 Networks
# description: This playbook will enable the application Connector
# service center.
# The steps are as follows:
# - Verify that the target F5 device is running v13 or greater
# - Verify that the F5 device is licensed for App Connector.
# - Provision all desired modules including iRulesLX. This playbook will
# provision iRulesLX if you are running Ansible 2.4.
# - This playbook will enable App Connector.
# NOTICE: Be sure you have staged the files in the ~/ansible/playbooks/files
# directory as described in the "Ansible Orchestration for Application
# Connector deployment guide located at https://github.com/mlowcher61
# - After running this playbook perform the manual steps described in the
# deployment guide prior to running the appconnector_vips playbook.
- name: Configuring App Connecter service center
hosts: localhost
connection: local
gather_facts: no
vars:
server1: "serv-center"
setup_user: "admin"
setup_pass: "admin"
app_connector: "app-connector-1.1.1.8.noarch.rpm"
tasks:
- name: Enabling App Connector
bigip_raw:
commands: run bash /util touch /var/config/rest/iapps/enable
server: "{{ server1 }}"
password: "{{ setup_pass }}"
user: "{{ setup_user }}"
validate_certs: "no"
delegate_to: localhost