diff options
author | Gordon Kelly <gordon.kelly@intel.com> | 2018-03-02 15:17:22 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-02 15:17:22 +0000 |
commit | 34a8da211410331108fe0d7f9f4dbc2fdb51e99a (patch) | |
tree | d26f81f181c37b538e2d332fdf4593a718353c94 /docker/ansible/roles/config_files/tasks/main.yml | |
parent | 4b3a216b75d33dbd9c78b09a790d85a2785d451d (diff) | |
parent | ae7fd7fb552c8bb44860e7787910365de824c070 (diff) |
Merge "ansible: add functionality to copy custom config files to target node"
Diffstat (limited to 'docker/ansible/roles/config_files/tasks/main.yml')
-rw-r--r-- | docker/ansible/roles/config_files/tasks/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docker/ansible/roles/config_files/tasks/main.yml b/docker/ansible/roles/config_files/tasks/main.yml index 2f0938c0..27362e3b 100644 --- a/docker/ansible/roles/config_files/tasks/main.yml +++ b/docker/ansible/roles/config_files/tasks/main.yml @@ -70,3 +70,14 @@ - name: enable virt plugin import_tasks: virt.yml + +- name: copy additional configuration files to target system + template: + src: "{{ item }}" + dest: "{{ config_file_dir }}/{{ item | basename | regex_replace('\\.j2','') }}" + tags: + - always + - copy_additional_configs + with_fileglob: + - "{{ additional_configs_path }}" + |