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
| cd /etc/yum.repos.d/ | |
| wget https://download.opensuse.org/repositories/filesystems:snapper/CentOS_7/filesystems:snapper.repo | |
| yum -y install snapper |
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
| cd /tmp | |
| wget https://s3.amazonaws.com/download.retrospect.com/software/linux/v1100/Linux_Client_x64_11_0_0_107.tar | |
| tar -xvf ./Linux_Client_x64_11_0_0_107.tar | |
| sudo ./Install.sh | |
| sudo /sbin/chkconfig rcl on |
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
| REG ADD HKLM\SYSTEM\CurrentControlSet\Services\PolicyAgent /v AssumeUDPEncapsulationContextOnSendRule /t REG_DWORD /d 0x2 /f |
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: localhost | |
| tasks: | |
| - name: discover IPv4 first-hop IP from pfsense | |
| shell: snmpwalk -Oqv -v2c -c publicro 10.2.10.1 1.3.6.1.2.1.4.24.4.1.4.0.0.0.0.0.0.0.0.0 | |
| register: snmpget_result | |
| changed_when: false | |
| - name: validate smokeping config using correct next-hop IP | |
| blockinfile: | |
| dest: /vms/smokeping/config/Targets |
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
| @rem *** Disable Some Services *** | |
| sc stop DiagTrack | |
| sc stop diagnosticshub.standardcollector.service | |
| sc stop dmwappushservice | |
| sc stop WMPNetworkSvc | |
| sc stop WSearch | |
| sc config DiagTrack start= disabled | |
| sc config diagnosticshub.standardcollector.service start= disabled | |
| sc config dmwappushservice start= disabled |
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
| apt-get install apt-utils ssh mongodb libcommons-daemon-java jsvc | |
| echo "deb http://www.ubnt.com/downloads/unifi/debian unifi5 ubiquiti" >> /etc/apt/sources.list | |
| add-apt-repository ppa:openjdk-r/ppa | |
| apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50 | |
| apt-get upgrade | |
| apt-get update | |
| cd /tmp && wget https://dl.ubnt.com/firmwares/unifi-video/3.7.1/unifi-video_3.7.1~Ubuntu16.04_amd64.deb | |
| dpkg -i /tmp/unifi-video_3.7.1~Ubuntu16.04_amd64.deb | |
| apt-get -f install | |
| dpkg -i /tmp/unifi-video_3.7.1~Ubuntu16.04_amd64.deb && rm -rf /tmp/unifi-video_3.7.1~Ubuntu16.04_amd64.deb |
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
| # GIT # | |
| # Get the branch name of the current directory | |
| _lp_git_branch() | |
| { | |
| (( LP_ENABLE_GIT )) || return | |
| \git rev-parse --is-inside-work-tree >/dev/null 2>&1 || return | |
| local branch |
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
| sudo yum install postgresql-server postgres | |
| sudo ~/atlassian-confluence-6.0.2-x64.bin | |
| sudo /sbin/chkconfig postgresql-9.6 on | |
| sudo /sbin/service postgresql-9.6 start | |
| sudo /sbin/service postgresql-9.6 initdb | |
| sudo su - postgres | |
| psql | |
| CREATE SCHEMA confluence; | |
| GRANT ALL on confluence TO confluence; |
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
| rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
| rpm -Uvh http://yum.spacewalkproject.org/2.5/RHEL/7/x86_64/spacewalk-repo-2.5-3.el7.noarch.rpm | |
| cat > /etc/yum.repos.d/jpackage-generic.repo << EOF | |
| [jpackage-generic] | |
| name=JPackage generic | |
| #baseurl=http://mirrors.dotsrc.org/pub/jpackage/5.0/generic/free/ | |
| mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0 | |
| enabled=1 | |
| gpgcheck=1 | |
| gpgkey=http://www.jpackage.org/jpackage.asc |
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
| yum -y install yum-utils | |
| yum -y localinstall http://fedorapeople.org/groups/katello/releases/yum/3.2/katello/el7/x86_64/katello-repos-latest.rpm | |
| yum -y localinstall http://yum.theforeman.org/releases/1.13/el7/x86_64/foreman-release.rpm | |
| yum -y localinstall http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm | |
| yum -y localinstall http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
| yum -y install foreman-release-scl | |
| yum -y update | |
| yum -y install katello | |
| foreman-installer --scenario katello |