echo 1234 > /root/roles/nginx/files/index.html \\创建文件 yum -y install nginx && cp /etc/nginx/nginx.conf /root/roles/nginx/templates/nginx.conf.j2 \\将配置文件拷贝到templates目录下 1. 2. 3. 4. 到这角色剧本就写好了。 2.编写任务: vim /roles/nginx/tesks/main.yaml 1. --- name...
- name: touch a file file: path: /tmp/test1.txt state: touch rescue: - name: touch file test2.txt file: path: /tmp/test2.txt state: touch always: - name: touch file test3.txt file: path: /tmp/test3.txt state: touch # 执行playbook node1上将会出现/tmp/test1.txt和/tmp/test3...
fileName = classDeclaration.simpleName.asString() + "Ext" ).apply { addFunction( FunSpec.builder("sumInts") .receiver(ksType.toTypeName(TypeParameterResolver.EMPTY)) .returns(Int::class) .addStatement("val sum = %L", summables.joinToString(" + ")) .addStatement("return sum") .build()...
catalysts Article Rational Engineering of 3α-Hydroxysteroid Dehydrogenase/Carbonyl Reductase for a Biomimetic Nicotinamide Mononucleotide Cofactor Yan-Liang Chen 1,†, Yun-Hao Chou 1,†, Chia-Lin Hsieh 1, Shean-Jaw Chiou 2, Tzu-Pin Wang 3 and Chi-Ching Hwang 1,2,4,* 1 Graduate Institute...
Worker templates Liquid automation Processing with Lambda Using Lambda functions Add required permissions to use AWS Lambda with Ground Truth Create Lambda functions using Ground Truth templates Test pre-annotation and post-annotation Lambda functions Demo: Image Annotation with crowd-bounding-box Demo: Te...