This file contains 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
resource "aws_batch_job_definition" "kitten-transfer" { | |
name = "kitten-transfer" | |
type = "container" | |
platform_capabilities = ["EC2"] | |
parameters = var.batch_parameters | |
container_properties = <<CONTAINER_PROPERTIES | |
{ | |
"command": ["Ref::command", "Ref::parameters"], | |
"image": "406641514508.dkr.ecr.us-east-1.amazonaws.com/kitten-transfer:latest", |
This file contains 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 | |
tar -xvf PyYAML-3.12.tar.gz && tar -xvf Jinja2-2.2.6.tar.gz | |
cd PyYAML-3.12 | |
python setup.py install | |
cd ../Jinja2-2.6 | |
python setup.py install | |
cd ../ansible | |
python setup.py install |
This file contains 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
setup-x86_64.exe ^ | |
--no-shortcuts ^ | |
--quiet-mode ^ | |
--disable-buggy-antivirus ^ | |
--packages ^ | |
xorg-server,^ | |
xinit,^ | |
xorg-docs,^ | |
xlaunch |
This file contains 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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Maintainer: | |
" Amir Salihefendic | |
" http://amix.dk - amix@amix.dk | |
" | |
" Version: | |
" 6.0 - 01/04/17 14:24:34 | |
" | |
" Blog_post: | |
" http://amix.dk/blog/post/19691#The-ultimate-Vim-configuration-on-Github |
This file contains 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: Download vim_runtime | |
git: | |
repo: 'git://github.com/amix/vimrc.git' | |
dest: ~/.vim_runtime | |
- name: Setup basic vimrc | |
command: sh ~/.vim_runtime/install_basic_vimrc.sh |
This file contains 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: Install docker | |
gather_facts: No | |
hosts: default | |
tasks: | |
- name: Install yum utils | |
yum: | |
name: yum-utils | |
state: latest |
This file contains 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/sh | |
yum -y install https://centos7.iuscommunity.org/ius-release.rpm | |
yum -y install python36u |
This file contains 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 | |
echo Download the Elastic PGP key | |
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch | |
elastic_repo=/etc/yum.repos.d/elastic_stack.repo | |
touch $elastic_repo | |
cat <<EOT > $elastic_repo | |
[elastic-5.x] | |
name=Elasticsearch repository for 5.x packages | |
baseurl=https://artifacts.elastic.co/packages/5.x/yum |
This file contains 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 | |
echo update all | |
yum -y update | |
echo install glibc | |
yum -y install glibc.i686 | |
echo install libstdc++ | |
yum -y install compat-libstdc++-33.x86_64 |
This file contains 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 | |
echo install ant | |
wget http://www.us.apache.org/dist/ant/binaries/apache-ant-1.10.1-bin.tar.gz | |
tar xvfz apache-ant-1.10.1-bin.tar.gz -C /opt | |
ln -s /opt/apache-ant-1.10.1 /opt/ant | |
sh -c 'echo ANT_HOME=/opt/ant>>/etc/environment' | |
ln -s /opt/ant/bin/ant /usr/bin/ant | |
rm apache-ant-1.10.1-bin.tar.gz |
NewerOlder