File tree Expand file tree Collapse file tree
roles/container_start/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 - role : notify
1414 rollbar_token : " {{ navi_rollbar_token }}"
1515 tags : [ notify ]
16- # - { role: builder, tags: [ build ] }
17- - { role: content-domain-certs }
18- - { role: tls-server-ca, ca_dest: "{{ redis_ca_cert_path }}" }
19- - { role: container_start, number_of_containers: 2 }
16+
17+ - role : builder
18+ tags : [ build ]
19+
20+ - role : content-domain-certs
21+
22+ - role : tls-server-ca
23+ ca_dest : " {{ redis_ca_cert_path }}"
24+
25+ - role : container_start
26+ number_of_containers : " {{ ansible_processor_cores }}"
27+
2028 - role : nginx-proxied-service
2129 nginx_host : " {{ groups['userland'][0] }}"
2230 target_ip_address : " {{ hostvars[groups['navi'][0]]['ansible_default_ipv4']['address'] }}"
Original file line number Diff line number Diff line change 2828 set_fact :
2929 number_of_containers : 1
3030
31- - debug :
31+ - name : print number of contaienrs
3232 tags : deploy
33+ debug :
3334 msg : starting this many containers -- {{ number_of_containers }}
3435
3536- name : start new container
You can’t perform that action at this time.
0 commit comments