diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a5000f..af745d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/src/aws.yml b/src/aws.yml index d6bf6a8..0bff897 100644 --- a/src/aws.yml +++ b/src/aws.yml @@ -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 diff --git a/src/requirements.yml b/src/requirements.yml index 8fdf3ad..306f7e5 100644 --- a/src/requirements.yml +++ b/src/requirements.yml @@ -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 diff --git a/src/version.txt b/src/version.txt index 5becc17..5c4105c 100644 --- a/src/version.txt +++ b/src/version.txt @@ -1 +1 @@ -__version__ = "1.0.0" +__version__ = "1.0.1"