-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from lunascat/master
Fix handling of extra_vars
- Loading branch information
Showing
5 changed files
with
21 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Pull base image | ||
FROM alpine:3.4 | ||
FROM alpine:3.6 | ||
LABEL Description="Concourse Ansible resource" Vendor="SpringerNature Platform Engineering" Version="1.0" | ||
MAINTAINER SpringerNature Platform Engineering [email protected] | ||
|
||
|
@@ -16,7 +16,7 @@ RUN ln -s /lib /lib64 \ | |
xmlsec \ | ||
yaml \ | ||
libc6-compat \ | ||
python \ | ||
python3 \ | ||
libxml2 \ | ||
py-lxml \ | ||
py-pip \ | ||
|
@@ -28,20 +28,20 @@ RUN ln -s /lib /lib64 \ | |
apk --upgrade add --no-cache --virtual \ | ||
build-dependencies \ | ||
build-base \ | ||
python-dev \ | ||
python3-dev \ | ||
libffi-dev \ | ||
openssl-dev \ | ||
linux-headers \ | ||
libxml2-dev | ||
|
||
# Ansible installation | ||
ADD requirements.txt /opt/ | ||
RUN pip install --upgrade --no-cache-dir -r /opt/requirements.txt | ||
RUN pip3 install --upgrade --no-cache-dir -r /opt/requirements.txt | ||
|
||
RUN apk del \ | ||
build-dependencies \ | ||
build-base \ | ||
python-dev \ | ||
python3-dev \ | ||
libffi-dev \ | ||
openssl-dev \ | ||
linux-headers \ | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,11 @@ | |
|
||
- name: ping2 | ||
ping: | ||
|
||
- name: print var1 | ||
debug: | ||
var: var1 | ||
|
||
- name: print var2 | ||
debug: | ||
var: var2 |