Set up the cyhy
user and group using an Ansible role at AMI build time
#545
Labels
improvement
This issue or pull request will add or improve functionality, maintainability, or ease of use
🚀 Feature Proposal
We should switch to setting up the
cyhy
user and group as part of the AMI build with Packer.Motivation
Currently we set up the
cyhy
user and group using cloud-init. We should switch to creating this user as one of the first steps in the AMI build process since it is used throughout the configuration of these images.Pitch
This aligns the AMIs built in this configuration more closely with the ones in the COOL system. It will also allow us to correctly set ownership of files created in later Ansible roles as needed.
Implementation notes
This will require a new Ansible role (something like
ansible-role-cyhy-user
). We will also need to implement adding the SSH public key as part of that role as it is also set up by cloud-init.The text was updated successfully, but these errors were encountered: