amazon_codedeploy
ansible-role-amazon-codedeploy
This role provide a compliance for install amazon-ssm on your target host.
Requirements
This role was developed using Ansible 2.5 Backwards compatibility is not guaranteed.
Use ansible-galaxy install diodonfrost.amazon_codedeploy
to install the role on your system.
Supported platforms:
- name: EL
versions:
- 8
- 7
- name: Fedora
versions:
- 29
- 28
- 27
- 26
- name: Debian
versions:
- buster
- stretch
- jessie
- name: Ubuntu
versions:
- disco dingo
- bionic
- xenial
- trusty
- name: Amazon
versions:
- 2017.12
- 2016.03
- 2013.09
Role Variables
This role does not have a variable
---
# defaults file for ansible-role-amazon-codedeploy
# Aws region where to download CodeDeploy install script
aws_region: eu-west-1
# Complete url where to download CodeDeploy install script
codedeploy_install_script_url: "{{ default_codedeploy_install_script_url }}"
# Where to store codedeploy agent install script
codedeploy_install_script_dest: "{{ default_codedeploy_install_script_dest }}"
Dependencies
None
Example Playbook
This is a sample playbook file for deploying the Ansible Galaxy role in a localhost and installing latest amazon-ssm version.
---
- hosts: localhost
become: true
roles:
- role: diodonfrost.amazon_codedeploy
Change aws region where to download CodeDeploy install script
---
- hosts: localhost
become: true
roles:
- role: diodonfrost.amazon_codedeploy
vars:
aws_region: eu-west-3
Local Testing
This project uses Molecule to aid in the development and testing.
To develop or test you'll need to have installed the following:
- Linux (e.g. Ubuntu)
- Docker
- Python (including python-pip)
- Ansible
- Molecule
- Virtualbox (windows test only)
- Vagrant (windows test only)
Testing with Docker
# Test role on CentOS 8
image=ansible-centos:8 molecule test
# Test role on Ubuntu 16.04
image=ansible-ubuntu:16.04 molecule test
Testing with Virtualbox
# Test role on Windows
molecule test -s windows
License
Apache 2
Author Information
This role was created in 2020 by diodonfrost.
Install
ansible-galaxy install diodonfrost/ansible-role-amazon-codedeploy
License
apache-2.0
Downloads
27657
Owner