taperole 1.3.6 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +11 -12
- data/lib/tape/ansible_runner.rb +1 -1
- data/lib/tape/installer.rb +0 -8
- data/lib/tape.rb +2 -2
- data/requirements.yml +5 -5
- data/roles/backend_install_essentials/meta/main.yml +2 -2
- data/roles/frontend_install_essentials/meta/main.yml +1 -1
- data/roles/frontend_install_essentials/tasks/main.yml +6 -2
- data/roles/node/tasks/main.yml +35 -0
- data/roles/node/templates/nvm.sh +5 -0
- data/taperole.gemspec +1 -1
- data/vars/defaults.yml +3 -2
- data/vendor/ANXS.postgresql/.travis.yml +25 -10
- data/vendor/ANXS.postgresql/README.md +29 -5
- data/vendor/ANXS.postgresql/Vagrantfile +14 -6
- data/vendor/ANXS.postgresql/ansible.cfg +2 -0
- data/vendor/ANXS.postgresql/defaults/main.yml +49 -25
- data/vendor/ANXS.postgresql/handlers/main.yml +1 -1
- data/vendor/ANXS.postgresql/meta/.galaxy_install_info +1 -1
- data/vendor/ANXS.postgresql/meta/main.yml +1 -1
- data/vendor/ANXS.postgresql/tasks/configure.yml +76 -10
- data/vendor/ANXS.postgresql/tasks/databases.yml +21 -11
- data/vendor/ANXS.postgresql/tasks/extensions/contrib.yml +9 -1
- data/vendor/ANXS.postgresql/tasks/install.yml +2 -2
- data/vendor/ANXS.postgresql/tasks/install_yum.yml +36 -0
- data/vendor/ANXS.postgresql/tasks/main.yml +11 -0
- data/vendor/ANXS.postgresql/tasks/users.yml +2 -1
- data/vendor/ANXS.postgresql/templates/HOWTO.postgresql.conf +21 -0
- data/vendor/ANXS.postgresql/templates/etc_systemd_system_postgresql.service.d_custom.conf.j2 +11 -0
- data/vendor/ANXS.postgresql/templates/pg_hba.conf.j2 +4 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.1.j2 +561 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.2.j2 +578 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.3.j2 +4 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.4.j2 +4 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.5.j2 +622 -0
- data/vendor/ANXS.postgresql/tests/idempotence_check.sh +28 -0
- data/vendor/ANXS.postgresql/tests/playbook.yml +9 -0
- data/vendor/ANXS.postgresql/{vars/test.yml → tests/vars.yml} +10 -1
- data/vendor/ANXS.postgresql/vagrant-inventory +1 -1
- data/vendor/ANXS.postgresql/vars/Debian.yml +4 -0
- data/vendor/ANXS.postgresql/vars/RedHat.yml +14 -0
- data/vendor/ANXS.postgresql/vars/empty.yml +2 -0
- data/vendor/geerlingguy.memcached/.gitignore +1 -0
- data/vendor/geerlingguy.memcached/.travis.yml +34 -0
- data/vendor/geerlingguy.memcached/README.md +53 -0
- data/vendor/geerlingguy.memcached/defaults/main.yml +9 -0
- data/vendor/geerlingguy.memcached/handlers/main.yml +3 -0
- data/vendor/geerlingguy.memcached/meta/.galaxy_install_info +1 -0
- data/vendor/geerlingguy.memcached/meta/main.yml +24 -0
- data/vendor/geerlingguy.memcached/tasks/main.yml +29 -0
- data/vendor/geerlingguy.memcached/tasks/setup-Debian.yml +6 -0
- data/vendor/geerlingguy.memcached/tasks/setup-RedHat.yml +3 -0
- data/vendor/{bennojoy.memcached/templates/memcached_debian.j2 → geerlingguy.memcached/templates/memcached-Debian.conf.j2} +7 -29
- data/vendor/geerlingguy.memcached/templates/memcached-RedHat.conf.j2 +19 -0
- data/vendor/geerlingguy.memcached/tests/inventory +1 -0
- data/vendor/geerlingguy.memcached/tests/test.yml +5 -0
- data/vendor/geerlingguy.memcached/vars/Debian.yml +3 -0
- data/vendor/geerlingguy.memcached/vars/RedHat.yml +3 -0
- data/vendor/jnv.mosh/meta/.galaxy_install_info +1 -1
- data/vendor/jnv.unattended-upgrades/README.md +8 -2
- data/vendor/jnv.unattended-upgrades/meta/.galaxy_install_info +1 -1
- data/vendor/jnv.unattended-upgrades/tasks/main.yml +5 -0
- data/vendor/jnv.unattended-upgrades/tasks/reboot.yml +12 -0
- data/vendor/jnv.unattended-upgrades/vars/Debian.yml +1 -1
- data/vendor/lxhunter.apt/meta/.galaxy_install_info +1 -1
- data/vendor/tersmitten.htop/meta/.galaxy_install_info +1 -1
- data/vendor/zzet.rbenv/README.md +10 -10
- data/vendor/zzet.rbenv/defaults/main.yml +9 -9
- data/vendor/zzet.rbenv/meta/.galaxy_install_info +1 -1
- data/vendor/zzet.rbenv/tasks/main.yml +41 -10
- metadata +35 -46
- data/vendor/ANXS.postgresql/test.yml +0 -8
- data/vendor/bennojoy.memcached/README.md +0 -49
- data/vendor/bennojoy.memcached/defaults/main.yml +0 -8
- data/vendor/bennojoy.memcached/handlers/main.yml +0 -3
- data/vendor/bennojoy.memcached/meta/.galaxy_install_info +0 -1
- data/vendor/bennojoy.memcached/meta/main.yml +0 -26
- data/vendor/bennojoy.memcached/tasks/main.yml +0 -30
- data/vendor/bennojoy.memcached/templates/memcached_redhat.j2 +0 -5
- data/vendor/bennojoy.memcached/vars/main.yml +0 -14
- data/vendor/nodesource.node/Dockerfile +0 -16
- data/vendor/nodesource.node/LICENSE.md +0 -11
- data/vendor/nodesource.node/README.md +0 -46
- data/vendor/nodesource.node/defaults/main.yml +0 -3
- data/vendor/nodesource.node/handlers/main.yml +0 -2
- data/vendor/nodesource.node/meta/.galaxy_install_info +0 -1
- data/vendor/nodesource.node/meta/main.yml +0 -18
- data/vendor/nodesource.node/role.yml +0 -6
- data/vendor/nodesource.node/tasks/main.yml +0 -26
- data/vendor/nodesource.node/templates/etc/apt/preferences.d/deb_nodesource_com_node.pref.2 +0 -5
- data/vendor/nodesource.node/tests/localhosts +0 -2
- data/vendor/nodesource.node/vars/main.yml +0 -2
- data/vendor/williamyeh.nodejs/.gitignore +0 -1
- data/vendor/williamyeh.nodejs/LICENSE +0 -22
- data/vendor/williamyeh.nodejs/README.md +0 -107
- data/vendor/williamyeh.nodejs/Vagrantfile +0 -33
- data/vendor/williamyeh.nodejs/circle.yml +0 -32
- data/vendor/williamyeh.nodejs/defaults/main.yml +0 -17
- data/vendor/williamyeh.nodejs/files/nodesource.gpg.key +0 -52
- data/vendor/williamyeh.nodejs/meta/.galaxy_install_info +0 -1
- data/vendor/williamyeh.nodejs/meta/main.yml +0 -27
- data/vendor/williamyeh.nodejs/tasks/main.yml +0 -19
- data/vendor/williamyeh.nodejs/tasks/set-role-variables.yml +0 -15
- data/vendor/williamyeh.nodejs/tasks/use-apt.yml +0 -88
- data/vendor/williamyeh.nodejs/tasks/use-yum.yml +0 -34
- data/vendor/williamyeh.nodejs/test/Dockerfile-centos6 +0 -29
- data/vendor/williamyeh.nodejs/test/Dockerfile-centos7 +0 -29
- data/vendor/williamyeh.nodejs/test/Dockerfile-debian7 +0 -29
- data/vendor/williamyeh.nodejs/test/Dockerfile-debian8 +0 -29
- data/vendor/williamyeh.nodejs/test/Dockerfile-ubuntu12.04 +0 -29
- data/vendor/williamyeh.nodejs/test/Dockerfile-ubuntu14.04 +0 -29
- data/vendor/williamyeh.nodejs/test.yml +0 -12
@@ -1,17 +0,0 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
#
|
4
|
-
# variables needed to be defined in user's playbook
|
5
|
-
#
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
#
|
10
|
-
# user-configurable defaults
|
11
|
-
#
|
12
|
-
|
13
|
-
nodejs_compile: True # install tools for compiling native addons from npm
|
14
|
-
|
15
|
-
|
16
|
-
nodejs_default_in_apt: "0.12"
|
17
|
-
nodejs_default_in_yum: "0.10"
|
@@ -1,52 +0,0 @@
|
|
1
|
-
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
2
|
-
Version: GnuPG v1
|
3
|
-
Comment: GPGTools - https://gpgtools.org
|
4
|
-
|
5
|
-
mQINBFObJLYBEADkFW8HMjsoYRJQ4nCYC/6Eh0yLWHWfCh+/9ZSIj4w/pOe2V6V+
|
6
|
-
W6DHY3kK3a+2bxrax9Eq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9BoxIvy
|
50
|
-
/qiNGs/TKy2/Ujqp/affmIMoMXSozKmga81JSwkADO1JMgUy6dApXz9kP4EE3g==
|
51
|
-
=CLGF
|
52
|
-
-----END PGP PUBLIC KEY BLOCK-----
|
@@ -1 +0,0 @@
|
|
1
|
-
{install_date: 'Mon Nov 16 16:35:28 2015', version: master}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
---
|
2
|
-
# nodejs/meta/main.yml
|
3
|
-
|
4
|
-
galaxy_info:
|
5
|
-
author: williamyeh
|
6
|
-
description: Install and configure Node.js
|
7
|
-
license: MIT
|
8
|
-
min_ansible_version: 1.4
|
9
|
-
|
10
|
-
platforms:
|
11
|
-
- name: Ubuntu
|
12
|
-
versions:
|
13
|
-
- precise
|
14
|
-
- trusty
|
15
|
-
- name: Debian
|
16
|
-
versions:
|
17
|
-
- wheezy
|
18
|
-
- jessie
|
19
|
-
- name: EL
|
20
|
-
versions:
|
21
|
-
- 6
|
22
|
-
- 7
|
23
|
-
|
24
|
-
categories:
|
25
|
-
- development
|
26
|
-
|
27
|
-
dependencies: []
|
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
# file: tasks/main.yml
|
3
|
-
# Top-level installer for Node.js.
|
4
|
-
#
|
5
|
-
# @see https://github.com/nodesource/distributions
|
6
|
-
#
|
7
|
-
|
8
|
-
|
9
|
-
- name: set role variables, if necessary
|
10
|
-
include: set-role-variables.yml
|
11
|
-
|
12
|
-
|
13
|
-
- name: delegate to APT system for installation
|
14
|
-
include: use-apt.yml
|
15
|
-
when: ansible_pkg_mgr == "apt"
|
16
|
-
|
17
|
-
- name: delegate to YUM system for installation
|
18
|
-
include: use-yum.yml
|
19
|
-
when: ansible_pkg_mgr == "yum"
|
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
# file: tasks/set-role-variables.yml
|
3
|
-
# set necessary role variables.
|
4
|
-
#
|
5
|
-
|
6
|
-
- name: set nodejs_version, if neither version variables are defined
|
7
|
-
set_fact:
|
8
|
-
nodejs_version: "{{ nodejs_default_in_apt }}"
|
9
|
-
when: nodejs_version is not defined and iojs_version is not defined and ansible_pkg_mgr == "apt"
|
10
|
-
|
11
|
-
|
12
|
-
- name: set nodejs_version, if neither version variables are defined
|
13
|
-
set_fact:
|
14
|
-
nodejs_version: "{{ nodejs_default_in_yum }}"
|
15
|
-
when: nodejs_version is not defined and iojs_version is not defined and ansible_pkg_mgr == "yum"
|
@@ -1,88 +0,0 @@
|
|
1
|
-
---
|
2
|
-
# file: tasks/use-apt.yml
|
3
|
-
#
|
4
|
-
# Configure Node.js from APT repository.
|
5
|
-
#
|
6
|
-
# @see https://github.com/nodesource/distributions
|
7
|
-
#
|
8
|
-
|
9
|
-
- name: install add-apt-repository and https binaries for Ansible to work
|
10
|
-
apt: name={{ item }} state=present update_cache=yes
|
11
|
-
with_items:
|
12
|
-
- python-software-properties
|
13
|
-
- apt-transport-https
|
14
|
-
|
15
|
-
- name: install tools for compiling native addons from npm
|
16
|
-
apt: name={{ item }} state=present
|
17
|
-
with_items:
|
18
|
-
- build-essential
|
19
|
-
when: nodejs_compile
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
- name: add NodeSource key
|
24
|
-
apt_key: data="{{ lookup('file', 'nodesource.gpg.key') }}" state=present
|
25
|
-
|
26
|
-
|
27
|
-
- name: add NodeSource repository for Node.js 4.0 (deb)
|
28
|
-
apt_repository: repo='deb https://deb.nodesource.com/node_4.x {{ ansible_distribution_release|lower }} main' state=present
|
29
|
-
when: (nodejs_version is defined) and nodejs_version|version_compare('4.0', '>=')
|
30
|
-
|
31
|
-
- name: add NodeSource repository for Node.js 0.12 (deb)
|
32
|
-
apt_repository: repo='deb https://deb.nodesource.com/node_0.12 {{ ansible_distribution_release|lower }} main' state=present
|
33
|
-
when: nodejs_version is defined
|
34
|
-
|
35
|
-
- name: add NodeSource repository for Node.js 0.10 (deb)
|
36
|
-
apt_repository: repo='deb https://deb.nodesource.com/node_0.10 {{ ansible_distribution_release|lower }} main' state=present
|
37
|
-
when: nodejs_version is defined
|
38
|
-
|
39
|
-
- name: add NodeSource repository for Node.js 4.0 (deb-src)
|
40
|
-
apt_repository: repo='deb-src https://deb.nodesource.com/node_4.x {{ ansible_distribution_release|lower }} main' state=present
|
41
|
-
when: (nodejs_version is defined) and nodejs_version|version_compare('4.0', '>=')
|
42
|
-
|
43
|
-
- name: add NodeSource repository for Node.js 0.12 (deb-src)
|
44
|
-
apt_repository: repo='deb-src https://deb.nodesource.com/node_0.12 {{ ansible_distribution_release|lower }} main' state=present
|
45
|
-
when: nodejs_version is defined
|
46
|
-
|
47
|
-
- name: add NodeSource repository for Node.js 0.10 (deb-src)
|
48
|
-
apt_repository: repo='deb-src https://deb.nodesource.com/node_0.10 {{ ansible_distribution_release|lower }} main' state=present
|
49
|
-
when: nodejs_version is defined
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
- name: add NodeSource repository for io.js 3.x (deb)
|
54
|
-
apt_repository: repo='deb https://deb.nodesource.com/iojs_3.x {{ ansible_distribution_release|lower }} main' state=present
|
55
|
-
when: iojs_version is defined
|
56
|
-
|
57
|
-
- name: add NodeSource repository for io.js 2.x (deb)
|
58
|
-
apt_repository: repo='deb https://deb.nodesource.com/iojs_2.x {{ ansible_distribution_release|lower }} main' state=present
|
59
|
-
when: iojs_version is defined
|
60
|
-
|
61
|
-
- name: add NodeSource repository for io.js 1.x (deb)
|
62
|
-
apt_repository: repo='deb https://deb.nodesource.com/iojs_1.x {{ ansible_distribution_release|lower }} main' state=present
|
63
|
-
when: iojs_version is defined
|
64
|
-
|
65
|
-
- name: add NodeSource repository for io.js 3.x (deb-src)
|
66
|
-
apt_repository: repo='deb-src https://deb.nodesource.com/iojs_3.x {{ ansible_distribution_release|lower }} main' state=present
|
67
|
-
when: iojs_version is defined
|
68
|
-
|
69
|
-
- name: add NodeSource repository for io.js 2.x (deb-src)
|
70
|
-
apt_repository: repo='deb-src https://deb.nodesource.com/iojs_2.x {{ ansible_distribution_release|lower }} main' state=present
|
71
|
-
when: iojs_version is defined
|
72
|
-
|
73
|
-
- name: add NodeSource repository for io.js 1.x (deb-src)
|
74
|
-
apt_repository: repo='deb-src https://deb.nodesource.com/iojs_1.x {{ ansible_distribution_release|lower }} main' state=present
|
75
|
-
when: iojs_version is defined
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
- name: install Node.js with specific version
|
81
|
-
apt: name={{ item }} update_cache=yes state=present force=yes
|
82
|
-
with_items: [ "nodejs={{ nodejs_version }}*" ]
|
83
|
-
when: nodejs_version is defined
|
84
|
-
|
85
|
-
- name: install io.js with specific version
|
86
|
-
apt: name={{ item }} update_cache=yes state=present force=yes
|
87
|
-
with_items: [ "iojs={{ iojs_version }}*" ]
|
88
|
-
when: iojs_version is defined
|
@@ -1,34 +0,0 @@
|
|
1
|
-
---
|
2
|
-
# file: tasks/use-yum.yml
|
3
|
-
#
|
4
|
-
# Configure Node.js from YUM repository.
|
5
|
-
#
|
6
|
-
# @see https://github.com/nodesource/distributions
|
7
|
-
#
|
8
|
-
|
9
|
-
- name: install libselinux-python binary for Ansible to work
|
10
|
-
yum: name=libselinux-python state=present
|
11
|
-
|
12
|
-
- name: install tools for compiling native addons from npm
|
13
|
-
yum: name={{ item }} state=present
|
14
|
-
with_items:
|
15
|
-
- gcc-c++
|
16
|
-
- make
|
17
|
-
when: nodejs_compile
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- name: add NodeSource official repository for CentOS
|
22
|
-
yum: name=https://rpm.nodesource.com/pub/el/{{ ansible_distribution_major_version }}/{{ ansible_architecture }}/nodesource-release-el{{ ansible_distribution_major_version }}-1.noarch.rpm state=present
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
- name: install Node.js with specific version
|
27
|
-
yum: name={{ item }} update_cache=yes state=present
|
28
|
-
with_items: [ "nodejs-{{ nodejs_version }}*" ]
|
29
|
-
when: nodejs_version is defined
|
30
|
-
|
31
|
-
#- name: install io.js with specific version
|
32
|
-
# yum: name={{ item }} update_cache=yes state=present
|
33
|
-
# with_items: [ "iojs-{{ iojs_version }}*" ]
|
34
|
-
# when: iojs_version is defined
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Dockerfile for building image that contains software stack provisioned by Ansible.
|
2
|
-
#
|
3
|
-
# USAGE:
|
4
|
-
# $ docker build .
|
5
|
-
#
|
6
|
-
# Version 1.0
|
7
|
-
#
|
8
|
-
|
9
|
-
|
10
|
-
# pull base image
|
11
|
-
FROM williamyeh/ansible:centos6-onbuild
|
12
|
-
|
13
|
-
MAINTAINER William Yeh <william.pjyeh@gmail.com>
|
14
|
-
|
15
|
-
|
16
|
-
#
|
17
|
-
# build phase
|
18
|
-
#
|
19
|
-
|
20
|
-
ENV PLAYBOOK test.yml
|
21
|
-
RUN ansible-playbook-wrapper -vvv
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
#
|
26
|
-
# test phase
|
27
|
-
#
|
28
|
-
|
29
|
-
CMD ["node", "--version"]
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Dockerfile for building image that contains software stack provisioned by Ansible.
|
2
|
-
#
|
3
|
-
# USAGE:
|
4
|
-
# $ docker build .
|
5
|
-
#
|
6
|
-
# Version 1.0
|
7
|
-
#
|
8
|
-
|
9
|
-
|
10
|
-
# pull base image
|
11
|
-
FROM williamyeh/ansible:centos7-onbuild
|
12
|
-
|
13
|
-
MAINTAINER William Yeh <william.pjyeh@gmail.com>
|
14
|
-
|
15
|
-
|
16
|
-
#
|
17
|
-
# build phase
|
18
|
-
#
|
19
|
-
|
20
|
-
ENV PLAYBOOK test.yml
|
21
|
-
RUN ansible-playbook-wrapper -vvv
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
#
|
26
|
-
# test phase
|
27
|
-
#
|
28
|
-
|
29
|
-
CMD ["node", "--version"]
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Dockerfile for building image that contains software stack provisioned by Ansible.
|
2
|
-
#
|
3
|
-
# USAGE:
|
4
|
-
# $ docker build .
|
5
|
-
#
|
6
|
-
# Version 1.0
|
7
|
-
#
|
8
|
-
|
9
|
-
|
10
|
-
# pull base image
|
11
|
-
FROM williamyeh/ansible:debian7-onbuild
|
12
|
-
|
13
|
-
MAINTAINER William Yeh <william.pjyeh@gmail.com>
|
14
|
-
|
15
|
-
|
16
|
-
#
|
17
|
-
# build phase
|
18
|
-
#
|
19
|
-
|
20
|
-
ENV PLAYBOOK test.yml
|
21
|
-
RUN ansible-playbook-wrapper
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
#
|
26
|
-
# test phase
|
27
|
-
#
|
28
|
-
|
29
|
-
CMD ["node", "--version"]
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Dockerfile for building image that contains software stack provisioned by Ansible.
|
2
|
-
#
|
3
|
-
# USAGE:
|
4
|
-
# $ docker build .
|
5
|
-
#
|
6
|
-
# Version 1.0
|
7
|
-
#
|
8
|
-
|
9
|
-
|
10
|
-
# pull base image
|
11
|
-
FROM williamyeh/ansible:debian8-onbuild
|
12
|
-
|
13
|
-
MAINTAINER William Yeh <william.pjyeh@gmail.com>
|
14
|
-
|
15
|
-
|
16
|
-
#
|
17
|
-
# build phase
|
18
|
-
#
|
19
|
-
|
20
|
-
ENV PLAYBOOK test.yml
|
21
|
-
RUN ansible-playbook-wrapper
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
#
|
26
|
-
# test phase
|
27
|
-
#
|
28
|
-
|
29
|
-
CMD ["node", "--version"]
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Dockerfile for building image that contains software stack provisioned by Ansible.
|
2
|
-
#
|
3
|
-
# USAGE:
|
4
|
-
# $ docker build .
|
5
|
-
#
|
6
|
-
# Version 1.0
|
7
|
-
#
|
8
|
-
|
9
|
-
|
10
|
-
# pull base image
|
11
|
-
FROM williamyeh/ansible:ubuntu12.04-onbuild
|
12
|
-
|
13
|
-
MAINTAINER William Yeh <william.pjyeh@gmail.com>
|
14
|
-
|
15
|
-
|
16
|
-
#
|
17
|
-
# build phase
|
18
|
-
#
|
19
|
-
|
20
|
-
ENV PLAYBOOK test.yml
|
21
|
-
RUN ansible-playbook-wrapper
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
#
|
26
|
-
# test phase
|
27
|
-
#
|
28
|
-
|
29
|
-
CMD ["node", "--version"]
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Dockerfile for building image that contains software stack provisioned by Ansible.
|
2
|
-
#
|
3
|
-
# USAGE:
|
4
|
-
# $ docker build .
|
5
|
-
#
|
6
|
-
# Version 1.0
|
7
|
-
#
|
8
|
-
|
9
|
-
|
10
|
-
# pull base image
|
11
|
-
FROM williamyeh/ansible:ubuntu14.04-onbuild
|
12
|
-
|
13
|
-
MAINTAINER William Yeh <william.pjyeh@gmail.com>
|
14
|
-
|
15
|
-
|
16
|
-
#
|
17
|
-
# build phase
|
18
|
-
#
|
19
|
-
|
20
|
-
ENV PLAYBOOK test.yml
|
21
|
-
RUN ansible-playbook-wrapper
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
#
|
26
|
-
# test phase
|
27
|
-
#
|
28
|
-
|
29
|
-
CMD ["node", "--version"]
|