crictl, crontab 추가
This commit is contained in:
6
build_ami_security/command
Executable file
6
build_ami_security/command
Executable file
@@ -0,0 +1,6 @@
|
||||
filename="datasaker-node-packer-ubuntu.pkr.hcl"
|
||||
|
||||
echo "packer init ${filename}"
|
||||
echo "packer fmt ${filename}"
|
||||
echo "packer validate ${filename}"
|
||||
echo "packer build ${filename}"
|
||||
@@ -39,13 +39,13 @@ source "amazon-ebs" "datasaker-node-ubuntu2004" {
|
||||
}
|
||||
|
||||
build {
|
||||
name = "datasaker-packer"
|
||||
sources = ["source.amazon-ebs.datasaker-node-ubuntu2004"]
|
||||
name = "datasaker-packer"
|
||||
sources = ["source.amazon-ebs.datasaker-node-ubuntu2004"]
|
||||
|
||||
provisioner "ansible" {
|
||||
playbook_file = "../ansible/node_roles.yaml"
|
||||
user = "ubuntu"
|
||||
extra_arguments = ["--become"]
|
||||
playbook_file = "../ansible/node_roles.yaml"
|
||||
user = "ubuntu"
|
||||
extra_arguments = ["--become"]
|
||||
ansible_env_vars = ["ANSIBLE_HOST_KEY_CHECKING=False"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user