Skip to content

deekayen/ansible-aws-ssm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Systems Manager Agent

CI Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows.

Install AWS EC2 Systems Manager (SSM) agent

http://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-agent.html

Requirements

GnuPG is installed at runtime.

Role Variables

Available variables are listed below, along with default values:

# The defaults provided by this role are specific to each distribution.
url: amd64
disable_gpg_check: false
gpg_key_url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2bc7c7c267bbd505eaa491e6dd81a61756baa549
gpg_key_fingerprint: 2bc7 c7c2 67bb d505 eaa4  91e6 dd81 a617 56ba a549

For installation in Raspbian, please find the activation code and id before using this role

url: arm
aws_ssm_activation_code: ''
aws_ssm_activation_id: ''
aws_ssm_ec2_region: "{{ ec2_region }}"

Dependencies

None

Example Playbook

Amazon only keeps a signing key for a year or two. When this role is outdated and you're waiting for an update, you can override the signing key URL at runtime like so:

- hosts: linuxfarm
  roles:
     - role: deekayen.aws-ssm
       vars:
          gpg_key_url: https://keys.openpgp.org/vks/v1/by-fingerprint/2BC7C7C267BBD505EAA491E6DD81A61756BAA549
          aws_ssm_activation_code: activationcode_here
          aws_ssm_activation_id: myactivation_id
          aws_ssm_ec2_region: us-east-1

License

MIT

Author Information

https://www.github.com/dhoeric