This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: LTM Configuration Management A Devices | |
hosts: all | |
connection: local | |
gather_facts: false | |
# strategy: free | |
vars: | |
provider: | |
server: "{{ inventory_hostname }}" | |
user: "{{ f5svc_username }}" | |
password: "{{ f5svc_password }}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: LTM Configuration Management A Devices | |
hosts: all | |
connection: local | |
gather_facts: false | |
# strategy: free | |
vars: | |
provider: | |
server: "{{ inventory_hostname }}" | |
user: "{{ f5svc_username }}" | |
password: "{{ f5svc_password }}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# hack to stop patching | |
#grep "release\ 5" /etc/redhat-release | |
#if [ $? -eq 1 ]; then | |
# echo -e "Patching has been suspended until fixes from Redhat have been found the the NFS issue introduced with the start of patching on RHEL6 and the flurry of fixes has stopped for RHEL7.\n\nWe will contact everyone via email once we have a timetable for the changes." | |
# exit 1; | |
#fi | |
grep -q "release\ 8" /etc/redhat-release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
countries=('unitedkingdom' 'usa' 'canada' 'mexico'); | |
countrycode=('gb' 'us' 'ca' 'mx'); | |
len="${#countries[@]}" | |
#Download zones | |
for ((i=0; i<${len}; i++ )); | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# An enhanced stateful firewall for a workstation, laptop or router that | |
# isn't running any network services like a web server, SMTP server, ftp | |
# server, etc. | |
# change this to the name of the interface that provides your "uplink" | |
# (connection to the Internet) | |
UPLINK="eth0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: all | |
gather_facts: yes | |
vars: | |
ad_user: samiam | |
ad_pass: samspassword | |
tasks: | |
- name: Copy EPEL8 GPG Key | |
copy: | |
src: 'files/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
extends: default | |
rules: | |
braces: | |
level: warning | |
max-spaces-inside: 1 | |
brackets: | |
level: warning |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use this to install elasticsearch | |
# | |
# Optional Parameters: | |
# | |
# | |
# | |
# USAGE EXAMPLES | |
# | |
# Simple | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10.in-addr.arpa. 600 IN SOA ns0.vumc.org. dns-admin.vumc.org. 2553545296 10800 3600 2419200 900 | |
10.in-addr.arpa. 600 IN SOA ns0.vumc.org. dns-admin.vumc.org. 2553545296 10800 3600 2419200 900 | |
10.in-addr.arpa. 600 IN SOA ns0.vumc.org. dns-admin.vumc.org. 2553545296 10800 3600 2419200 900 | |
9.134.100.10.in-addr.arpa. 600 IN PTR img1023wp.hs.it.vumc.io. | |
100.136.100.10.in-addr.arpa. 600 IN PTR adm1001lp.hs.it.vumc.io. | |
194.208.100.10.in-addr.arpa. 600 IN PTR ces1001wp.hs.it.vumc.io. | |
197.208.100.10.in-addr.arpa. 600 IN PTR ces1004wp.hs.it.vumc.io. | |
198.208.100.10.in-addr.arpa. 600 IN PTR ces1005wp.hs.it.vumc.io. | |
200.208.100.10.in-addr.arpa. 600 IN PTR ces1007wp.hs.it.vumc.io. | |
203.208.100.10.in-addr.arpa. 600 IN PTR ces1010wp.hs.it.vumc.io. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET @sql = NULL; | |
SELECT | |
GROUP_CONCAT(DISTINCT | |
CONCAT( | |
'MAX(IF(AttributeID = ''', | |
AttributeID, | |
''', Value, NULL)) AS ', | |
Label | |
) | |
) INTO @sql |