diff --git a/ansible/playbooks/local-services-cfg.yml b/ansible/playbooks/local-services-cfg.yml index 0e6ca203c..6b655886b 100644 --- a/ansible/playbooks/local-services-cfg.yml +++ b/ansible/playbooks/local-services-cfg.yml @@ -1,6 +1,5 @@ # Set de_config_dir to the local directory. # Example: ansible-playbook -i inventories/production.cfg --extra-vars "de_config_dir=$(pwd)/foo playbook=playbooks/local-services-cfg.yml owner=$(whoami) group=staff de_env=production" --tags="service_config,logging_config" single-role.yaml - --- - hosts: localhost sudo: false @@ -95,36 +94,36 @@ - role: util-cfg-service service_name_short: "{{templeton_periodic.service_name_short}}" src: "templeton-periodic.yaml.j2" - dest: "{{service_conf_dir}}/templeton-periodic.yaml" + dest: "{{local_cfg_dest}}/templeton-periodic.yaml" - role: util-cfg-service service_name_short: "{{templeton_incremental.service_name_short}}" src: "templeton-incremental.yaml.j2" - dest: "{{service_conf_dir}}/templeton-incremental.yaml" + dest: "{{local_cfg_dest}}/templeton-incremental.yaml" - role: util-cfg-service src: "ui/de-application.yaml.j2" - dest: "{{service_conf_dir}}/de-application.yaml" + dest: "{{local_cfg_dest}}/de-application.yaml" service_name_short: "{{de.service_name_short}}" - role: util-cfg-service src: "ui/de.properties.j2" - dest: "{{service_conf_dir}}/de.properties" + dest: "{{local_cfg_dest}}/de.properties" service_name_short: "{{de.service_name_short}}" - role: util-cfg-service src: "ui/nginx.conf.j2" - dest: "{{service_conf_dir}}/nginx/nginx.conf" + dest: "{{local_cfg_dest}}/nginx/nginx.conf" service_name_short: "{{de.service_name_short}}" - role: util-cfg-service src: "docker-cleanup/docker-gc-exclude-containers.j2" - dest: "{{service_conf_dir}}/docker-gc-exclude-containers" + dest: "{{local_cfg_dest}}/docker-gc-exclude-containers" service_name_short: "docker-gc" - role: util-cfg-service src: "docker-cleanup/docker-gc-exclude.j2" - dest: "{{service_conf_dir}}/docker-gc-exclude" + dest: "{{local_cfg_dest}}/docker-gc-exclude" service_name_short: "docker-gc" - role: util-cfg-service @@ -134,4 +133,4 @@ - role: util-cfg-service service_name_short: "{{permissions.service_name_short}}" src: "permissions.yaml.j2" - dest: "{{service_conf_dir}}/permissions.yaml" + dest: "{{local_cfg_dest}}/permissions.yaml"