-
Notifications
You must be signed in to change notification settings - Fork 4
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
Install via snap
on Ubuntu
#57
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
According to the documentation from AWS, the SSM Agent should be installed via snap on all Ubuntu versions that we support: https://docs.aws.amazon.com/systems-manager/latest/userguide/agent-install-ubuntu-64-snap.html
jsf9k
added
bug
This issue or pull request addresses broken functionality
breaking change
This issue or pull request involves changes to existing functionality
labels
Jul 10, 2024
…untu This is because on Ubuntu the service is installed via snap.
We have to let the snapd service initialize and we have to start the snapd socket before we can attempt to install anything via snap. Additionally, the snap install command tends to fail the first time we run it when testing via Molecule so we have to re-run the command until it succeeds. (Usually only a second run is necessary.)
Also add some snap-specific tests for Ubuntu.
jsf9k
force-pushed
the
bugfix/install-via-snap-on-ubuntu
branch
from
September 13, 2024 14:07
d8a1aa5
to
e0ad88d
Compare
dv4harr10
approved these changes
Sep 13, 2024
jsf9k
added a commit
to cisagov/nessus-packer
that referenced
this pull request
Sep 13, 2024
The role supports the installation of amazon-ssm-agent via snap on Ubuntu with the merging of cisagov/ansible-role-amazon-ssm-agent#57.
jsf9k
added a commit
to cisagov/nessus-packer
that referenced
this pull request
Sep 13, 2024
…sm-agent This is being done for testing purposes and this change can be reverted once cisagov/ansible-role-amazon-ssm-agent#57 is merged.
jsf9k
added a commit
to cisagov/openvpn-packer
that referenced
this pull request
Sep 13, 2024
The role supports the installation of amazon-ssm-agent via snap on Ubuntu with the merging of cisagov/ansible-role-amazon-ssm-agent#57.
jsf9k
added a commit
to cisagov/openvpn-packer
that referenced
this pull request
Sep 13, 2024
…sm-agent This is being done for testing purposes and this change can be reverted once cisagov/ansible-role-amazon-ssm-agent#57 is merged.
jsf9k
added a commit
to cisagov/ubuntu-server-packer
that referenced
this pull request
Sep 13, 2024
The role supports the installation of amazon-ssm-agent via snap on Ubuntu with the merging of cisagov/ansible-role-amazon-ssm-agent#57.
jsf9k
added a commit
to cisagov/ubuntu-server-packer
that referenced
this pull request
Sep 13, 2024
…sm-agent This is being done for testing purposes and this change can be reverted once cisagov/ansible-role-amazon-ssm-agent#57 is merged.
This was referenced Sep 13, 2024
jsf9k
added a commit
to cisagov/openvpn-packer
that referenced
this pull request
Sep 13, 2024
The role supports the installation of amazon-ssm-agent via snap on Ubuntu with the merging of cisagov/ansible-role-amazon-ssm-agent#57.
jsf9k
added a commit
to cisagov/openvpn-packer
that referenced
this pull request
Sep 13, 2024
…sm-agent This is being done for testing purposes and this change can be reverted once cisagov/ansible-role-amazon-ssm-agent#57 is merged.
dav3r
approved these changes
Sep 13, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Snap to the future 🚀
jsf9k
added a commit
to cisagov/ubuntu-server-packer
that referenced
this pull request
Sep 14, 2024
…-agent We can do this now that cisagov/ansible-role-amazon-ssm-agent#57 has been merged.
jsf9k
added a commit
to cisagov/openvpn-packer
that referenced
this pull request
Sep 14, 2024
…-agent We can do this now that cisagov/ansible-role-amazon-ssm-agent#57 has been merged.
jsf9k
added a commit
to cisagov/nessus-packer
that referenced
this pull request
Sep 14, 2024
…-agent We can do this now that cisagov/ansible-role-amazon-ssm-agent#57 has been merged.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
breaking change
This issue or pull request involves changes to existing functionality
bug
This issue or pull request addresses broken functionality
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🗣 Description
This pull request modifies the Ansible role to install the Amazon SSM agent via
snap
on Ubuntu.💭 Motivation and context
Resolves #56.
🧪 Testing
All automated tests pass.
✅ Pre-approval checklist