Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-add cisagov/ansible-role-amazon-ssm-agent #115

Merged
merged 7 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ repos:
# necessary to add the ansible package itself as an
# additional dependency, with the same pinning as is done in
# requirements-test.txt of cisagov/skeleton-ansible-role.
# - ansible>=9,<10
#
# community.general is a dependency in src/requirements.txt
# for this repo.
- ansible>=9,<10
# ansible-core 2.16.3 through 2.16.6 suffer from the bug
# discussed in ansible/ansible#82702, which breaks any
# symlinked files in vars, tasks, etc. for any Ansible role
Expand Down
7 changes: 3 additions & 4 deletions src/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
become: true
become_method: ansible.builtin.sudo
tasks:
# This agent is already installed on the Ubuntu base AMI.
# - name: Install Amazon SSM Agent
# ansible.builtin.include_role:
# name: amazon_ssm_agent
- name: Install Amazon SSM Agent
ansible.builtin.include_role:
name: amazon_ssm_agent
- name: Install chrony and configure it for use within AWS
ansible.builtin.include_role:
name: chrony_aws
Expand Down
5 changes: 2 additions & 3 deletions src/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
collections:
- community.general
roles:
# This agent is already installed on the Ubuntu base AMI.
# - name: amazon_ssm_agent
# src: https://github.com/cisagov/ansible-role-amazon-ssm-agent
- name: amazon_ssm_agent
src: https://github.com/cisagov/ansible-role-amazon-ssm-agent
- name: automated_security_updates
src: https://github.com/cisagov/ansible-role-automated-security-updates
- name: banner
Expand Down
2 changes: 1 addition & 1 deletion src/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.0"
__version__ = "1.0.1"
Loading