diodonfrost.amazon_codedeploy

ansible-role-amazon-codedeploy

molecule Ansible Galaxy

This role helps you install amazon-ssm on your target server.

Requirements

This role works with Ansible version 2.5 or later. Older versions may not be compatible. To install the role, use the command: ansible-galaxy install diodonfrost.amazon_codedeploy.

Supported systems:

- 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 doesn't use any variables.

---
# default settings for ansible-role-amazon-codedeploy

# AWS region to download the CodeDeploy install script
aws_region: eu-west-1

# URL to download the CodeDeploy install script
codedeploy_install_script_url: "{{ default_codedeploy_install_script_url }}"

# Location to save the CodeDeploy agent install script
codedeploy_install_script_dest: "{{ default_codedeploy_install_script_dest }}"

Dependencies

There are no dependencies.

Example Playbook

Here's a simple playbook to use the Ansible Galaxy role on your localhost and install the latest version of amazon-ssm.

---
- hosts: localhost
  become: true
  roles:
    - role: diodonfrost.amazon_codedeploy

To change the AWS region for downloading the CodeDeploy script, use the following:

---
- hosts: localhost
  become: true
  roles:
    - role: diodonfrost.amazon_codedeploy
      vars:
        aws_region: eu-west-3

Local Testing

This project uses Molecule for development and testing.

Make sure to have the following installed:

Testing with Docker

# Test the role on CentOS 8
image=ansible-centos:8 molecule test

# Test the role on Ubuntu 16.04
image=ansible-ubuntu:16.04 molecule test

Testing with Virtualbox

# Test the role on Windows
molecule test -s windows

License

Apache 2

Author Information

This role was created in 2020 by diodonfrost.

Informazioni sul progetto

Ansible role for manage AWS CodeDeploy agent

Installa
ansible-galaxy install diodonfrost.amazon_codedeploy
Licenza
apache-2.0
Download
37k
Proprietario