chore(cloud-init): review working files

This commit is contained in:
Michele Cereda
2024-05-04 11:50:16 +02:00
parent 12735c6328
commit 1e9a51fa0b
3 changed files with 14 additions and 3 deletions

View File

@@ -1,11 +1,12 @@
#cloud-config
##
# Install and enable the SSM agent on supported instances.
#
# Tested on:
# - Amazon Linux 2023.4.20240416
##
package_upgrade: false
packages:
- amazon-ssm-agent

View File

@@ -1,5 +1,10 @@
#cloud-config
##
# Tested on:
# - RHEL 8.6
##
write_files:
- path: /etc/cron.daily/security-updates
permissions: '0755'

View File

@@ -1,5 +1,10 @@
#cloud-config
##
# Tested on:
# - RHEL 8.6
##
yum_repos:
docker-ce-stable:
name: Docker CE Stable - $basearch
@@ -10,7 +15,7 @@ yum_repos:
gpgkey: https://download.docker.com/linux/centos/gpg
packages:
- docker-ce
- docker-ce # brings in 'docker-ce-cli' and 'containerd.io' too
- docker-compose-plugin
runcmd: