Add jenkinsfile for ansible execution

This commit is contained in:
Nana Janashia
2021-04-07 11:24:55 +02:00
parent 851ef30959
commit 9573355ec3
4 changed files with 56 additions and 28 deletions

9
ansible/ansible.cfg Normal file
View File

@@ -0,0 +1,9 @@
[defaults]
host_key_checking = False
inventory = inventory_aws_ec2.yaml
interpreter_python = /usr/bin/python3
enable_plugins = aws_ec2
remote_user = ec2-user
private_key_file = ~/ssh-key.pem