Преглед на файлове

kea dhcp4 config y dist en lugar de docker en la instalación

Luciano Andrade преди 6 години
родител
ревизия
3482f228c0
променени са 2 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 5 2
      tools/playbook.yml
  2. 1 0
      tools/src/Release.php

+ 5 - 2
tools/playbook.yml

@@ -4,12 +4,15 @@
   connection: local
   connection: local
   tasks:
   tasks:
     - name: Parameters for base
     - name: Parameters for base
-      command: "cp {{ playbook_dir }}/base/app/config/parameters.yml.docker {{ playbook_dir }}/base/app/config/parameters.yml"
+      command: "cp {{ playbook_dir }}/base/app/config/parameters.yml.dist {{ playbook_dir }}/base/app/config/parameters.yml"
 
 
     - name: "Parameters"
     - name: "Parameters"
-      command: "cp {{ playbook_dir }}/{{ item }}/app/config/parameters.yml.docker {{ playbook_dir }}/{{ item }}/app/config/parameters.yml"
+      command: "cp {{ playbook_dir }}/{{ item }}/app/config/parameters.yml.dist {{ playbook_dir }}/{{ item }}/app/config/parameters.yml"
       with_items: "{{ lookup('env', 'MODULES_INSTALL').split(',') }}"
       with_items: "{{ lookup('env', 'MODULES_INSTALL').split(',') }}"
 
 
+    - name: Parameters for base
+      command: "cp {{ playbook_dir }}/kea/conf/kea-dhcp4.conf.dist {{ playbook_dir }}/kea/conf/kea-dhcp4.conf"
+
 - name: Launch docker for mysql database. Tag=start_mysql
 - name: Launch docker for mysql database. Tag=start_mysql
   hosts: 127.0.0.1
   hosts: 127.0.0.1
   connection: local
   connection: local

+ 1 - 0
tools/src/Release.php

@@ -1019,6 +1019,7 @@ class Release extends Command
             ->addEnv_file("host.env")
             ->addEnv_file("host.env")
             ->addEnv_file($module . "." . $host_env_file)
             ->addEnv_file($module . "." . $host_env_file)
             ->addVolumes("./kea/conf/kea-ctrl-agent.conf", "/usr/local/etc/kea/kea-ctrl-agent.conf")
             ->addVolumes("./kea/conf/kea-ctrl-agent.conf", "/usr/local/etc/kea/kea-ctrl-agent.conf")
+            ->addVolumes("./kea/conf/kea-dhcp4.conf", "/usr/local/etc/kea/kea-dhcp4.conf")
             ;
             ;
         $this->writeVariablesEnviroment($module . "." . $host_env_file, $module,
         $this->writeVariablesEnviroment($module . "." . $host_env_file, $module,
             array(
             array(