|
1 | 1 | - hosts: localhost
|
2 |
| - connection: local |
3 |
| - gather_facts: false |
4 |
| - pre_tasks: |
5 |
| - - name: Collect minimum facts (we need date time stuff) |
6 |
| - setup: |
7 |
| - gather_subset: min |
8 |
| - roles: |
9 |
| - - role: cs.aws-vpc |
10 |
| - - role: cs.aws-security-group |
11 |
| - aws_security_group_rds_create: "{{ aws_rds_create }}" |
12 |
| - aws_security_group_redis_create: "{{ mageops_redis_create or mageops_redis_sessions_create }}" |
13 |
| - aws_security_group_rabbitmq_create: "{{ mageops_rabbitmq_create and magento_rabbitmq_queue }}" |
14 |
| - aws_security_group_elasticsearch_create: "{{ mageops_elasticsearch_create }}" |
15 |
| - - role: cs.aws-s3 |
16 |
| - - role: cs.aws-cloudfront |
17 |
| - aws_cloudfront_use_lambda: "{{ aws_cloudfront_optimizing_edge_lambda_enable }}" |
18 |
| - aws_cloudfront_lambda_arn: "{{ aws_cloudfront_lambda_latest_arn | default(omit, true) }}" |
19 |
| - when: aws_cloudfront_distribution_create | bool |
20 |
| - - role: cs.aws-rds |
21 |
| - when: aws_rds_create |
22 |
| - - role: cs.aws-loadbalancer |
23 |
| - lb_ssl_cert: "{{ aws_elb_https_certificate_arn }}" |
24 |
| - lb_s3_logs_bucket: "{{ aws_s3_secret_bucket }}" |
25 |
| - lb_http_port: "{{ mageops_varnish_port }}" |
26 |
| - when: aws_elb_create |
27 |
| - - role: cs.aws-ami-facts |
28 |
| - - role: cs.aws-node-facts |
29 |
| - - role: cs.aws-node-varnish |
30 |
| - aws_varnish_node_root_device: "{{ aws_ami_root_device }}" |
31 |
| - aws_varnish_node_vpc_subnet_id: "{{ aws_vpc_subnet_id }}" |
32 |
| - aws_varnish_instance_id: "{{ aws_varnish_node_instance.instance_id | default(false) }}" |
33 |
| - when: varnish_standalone |
34 |
| - - role: cs.aws-node-persistent |
35 |
| - aws_persistent_node_root_device: "{{ aws_ami_root_device }}" |
36 |
| - aws_persistent_node_vpc_subnet_id: "{{ aws_vpc_subnet_id }}" |
37 |
| - aws_persistent_instance_id: "{{ aws_persistent_node_instance.instance_id | default(false) }}" |
38 |
| - - role: cs.mysql-configure |
39 |
| - mysql_user_localhost_access: "{{ not aws_rds_create }}" |
40 |
| - - role: cs.aws-lambda-varnish |
41 |
| - when: varnish_standalone |
42 |
| - - role: cs.aws-lambda-node-coordinator |
43 |
| - when: aws_magento_cron_enabled |
44 |
| - - role: cs.aws-lambda-import |
45 |
| - - role: cs.finalize |
| 2 | + gather_facts: no |
46 | 3 | tasks:
|
47 |
| - - name: Refresh inventory to get info about newly created nodes |
48 |
| - meta: refresh_inventory |
| 4 | + - debug: |
| 5 | + msg: I do nothing! |
| 6 | + |
| 7 | +# - hosts: localhost |
| 8 | +# connection: local |
| 9 | +# gather_facts: false |
| 10 | +# pre_tasks: |
| 11 | +# - name: Collect minimum facts (we need date time stuff) |
| 12 | +# setup: |
| 13 | +# gather_subset: min |
| 14 | +# roles: |
| 15 | +# - role: cs.aws-vpc |
| 16 | +# - role: cs.aws-security-group |
| 17 | +# aws_security_group_rds_create: "{{ aws_rds_create }}" |
| 18 | +# aws_security_group_redis_create: "{{ mageops_redis_create or mageops_redis_sessions_create }}" |
| 19 | +# aws_security_group_rabbitmq_create: "{{ mageops_rabbitmq_create and magento_rabbitmq_queue }}" |
| 20 | +# aws_security_group_elasticsearch_create: "{{ mageops_elasticsearch_create }}" |
| 21 | +# - role: cs.aws-s3 |
| 22 | +# - role: cs.aws-cloudfront |
| 23 | +# aws_cloudfront_use_lambda: "{{ aws_cloudfront_optimizing_edge_lambda_enable }}" |
| 24 | +# aws_cloudfront_lambda_arn: "{{ aws_cloudfront_lambda_latest_arn | default(omit, true) }}" |
| 25 | +# when: aws_cloudfront_distribution_create | bool |
| 26 | +# - role: cs.aws-rds |
| 27 | +# when: aws_rds_create |
| 28 | +# - role: cs.aws-loadbalancer |
| 29 | +# lb_ssl_cert: "{{ aws_elb_https_certificate_arn }}" |
| 30 | +# lb_s3_logs_bucket: "{{ aws_s3_secret_bucket }}" |
| 31 | +# lb_http_port: "{{ mageops_varnish_port }}" |
| 32 | +# when: aws_elb_create |
| 33 | +# - role: cs.aws-ami-facts |
| 34 | +# - role: cs.aws-node-facts |
| 35 | +# - role: cs.aws-node-varnish |
| 36 | +# aws_varnish_node_root_device: "{{ aws_ami_root_device }}" |
| 37 | +# aws_varnish_node_vpc_subnet_id: "{{ aws_vpc_subnet_id }}" |
| 38 | +# aws_varnish_instance_id: "{{ aws_varnish_node_instance.instance_id | default(false) }}" |
| 39 | +# when: varnish_standalone |
| 40 | +# - role: cs.aws-node-persistent |
| 41 | +# aws_persistent_node_root_device: "{{ aws_ami_root_device }}" |
| 42 | +# aws_persistent_node_vpc_subnet_id: "{{ aws_vpc_subnet_id }}" |
| 43 | +# aws_persistent_instance_id: "{{ aws_persistent_node_instance.instance_id | default(false) }}" |
| 44 | +# - role: cs.mysql-configure |
| 45 | +# mysql_user_localhost_access: "{{ not aws_rds_create }}" |
| 46 | +# - role: cs.aws-lambda-varnish |
| 47 | +# when: varnish_standalone |
| 48 | +# - role: cs.aws-lambda-node-coordinator |
| 49 | +# when: aws_magento_cron_enabled |
| 50 | +# - role: cs.aws-lambda-import |
| 51 | +# - role: cs.finalize |
| 52 | +# tasks: |
| 53 | +# - name: Refresh inventory to get info about newly created nodes |
| 54 | +# meta: refresh_inventory |
0 commit comments