diff --git a/tasks/config.yaml b/tasks/config.yaml index 2fa44b9..f1f194f 100644 --- a/tasks/config.yaml +++ b/tasks/config.yaml @@ -23,9 +23,9 @@ - /etc/nodepool - /var/log/nodepool -- name: Copy nodepool configuration. +- name: Install nodepool configuration. become: yes - copy: + template: dest: "{{ nodepool_file_nodepool_yaml_dest }}" group: "{{ nodepool_file_nodepool_yaml_group }}" mode: "{{ nodepool_file_nodepool_yaml_mode }}" @@ -33,9 +33,9 @@ src: "{{ nodepool_file_nodepool_yaml_src }}" register: nodepool_file_nodepool_yaml -- name: Copy nodepool secure configuration. +- name: Install nodepool secure configuration. become: yes - copy: + template: dest: "{{ nodepool_file_secure_conf_dest }}" group: "{{ nodepool_file_secure_conf_group }}" mode: "{{ nodepool_file_secure_conf_mode }}" @@ -43,9 +43,9 @@ src: "{{ nodepool_file_secure_conf_src }}" register: nodepool_file_secure_conf -- name: Copy logging configuration file. +- name: Install logging configuration file. become: yes - copy: + template: dest: "{{ nodepool_file_logging_conf_dest }}" group: "{{ nodepool_file_logging_conf_group }}" mode: "{{ nodepool_file_logging_conf_mode }}" @@ -53,9 +53,9 @@ src: "{{ nodepool_file_logging_conf_src }}" register: nodepool_file_logging_conf -- name: Copy builder logging configuration file. +- name: Install builder logging configuration file. become: yes - copy: + template: dest: "{{ nodepool_file_builder_logging_conf_dest }}" group: "{{ nodepool_file_builder_logging_conf_group }}" mode: "{{ nodepool_file_builder_logging_conf_mode }}" @@ -63,9 +63,9 @@ src: "{{ nodepool_file_builder_logging_conf_src }}" register: nodepool_file_builder_logging_conf -- name: Copy deleter logging configuration file. +- name: Install deleter logging configuration file. become: yes - copy: + template: dest: "{{ nodepool_file_deleter_logging_conf_dest }}" group: "{{ nodepool_file_deleter_logging_conf_group }}" mode: "{{ nodepool_file_deleter_logging_conf_mode }}" @@ -73,9 +73,9 @@ src: "{{ nodepool_file_deleter_logging_conf_src }}" register: nodepool_file_deleter_logging_conf -- name: Copy launcher logging configuration file. +- name: Install launcher logging configuration file. become: yes - copy: + template: dest: "{{ nodepool_file_launcher_logging_conf_dest }}" group: "{{ nodepool_file_launcher_logging_conf_group }}" mode: "{{ nodepool_file_launcher_logging_conf_mode }}" @@ -83,7 +83,7 @@ src: "{{ nodepool_file_launcher_logging_conf_src }}" register: nodepool_file_launcher_logging_conf -- name: Copy nodepool elements directory. +- name: Install nodepool elements directory. become: yes copy: dest: "{{ nodepool_file_nodepool_elements_dest }}" diff --git a/files/etc/nodepool/builder-logging.conf b/templates/etc/nodepool/builder-logging.conf similarity index 100% rename from files/etc/nodepool/builder-logging.conf rename to templates/etc/nodepool/builder-logging.conf diff --git a/files/etc/nodepool/deleter-logging.conf b/templates/etc/nodepool/deleter-logging.conf similarity index 100% rename from files/etc/nodepool/deleter-logging.conf rename to templates/etc/nodepool/deleter-logging.conf diff --git a/files/etc/nodepool/launcher-logging.conf b/templates/etc/nodepool/launcher-logging.conf similarity index 100% rename from files/etc/nodepool/launcher-logging.conf rename to templates/etc/nodepool/launcher-logging.conf diff --git a/files/etc/nodepool/logging.conf b/templates/etc/nodepool/logging.conf similarity index 100% rename from files/etc/nodepool/logging.conf rename to templates/etc/nodepool/logging.conf diff --git a/files/etc/nodepool/nodepool.yaml b/templates/etc/nodepool/nodepool.yaml similarity index 100% rename from files/etc/nodepool/nodepool.yaml rename to templates/etc/nodepool/nodepool.yaml diff --git a/files/etc/nodepool/secure.conf b/templates/etc/nodepool/secure.conf similarity index 100% rename from files/etc/nodepool/secure.conf rename to templates/etc/nodepool/secure.conf