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
[vdo023@localhost loop_with_file]$ ansible-playbook -i "localhost," -c local ./with_files-playbook.yml | |
PLAY [localhost] ********************************************************************************************************************************** | |
TASK [Gathering Facts] **************************************************************************************************************************** | |
ok: [localhost] | |
TASK [create a file number 1 for this example] **************************************************************************************************** | |
ok: [localhost] |
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
FROM node:8.9.4 | |
RUN mkdir /root/packer | |
WORKDIR /root/packer | |
RUN wget https://releases.hashicorp.com/packer/1.1.3/packer_1.1.3_linux_amd64.zip | |
RUN wget https://releases.hashicorp.com/terraform/0.11.1/terraform_0.11.1_linux_amd64.zip | |
RUN apt-get update \ |
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
node { | |
def myImage | |
stage('Clone repository') { | |
/* Let's make sure we have the repository cloned to our workspace */ | |
dir('.') { | |
git url: 'https://github.com/VireshDoshi/jen-build-node-app-aws.git' | |
} | |
} |
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
docker run -p 8080:8080 -p 50000:50000 jenkins/jenkins:latest |
NewerOlder