diff --git a/defaults/main.yml b/defaults/main.yml index f74d12db..6ec19fe2 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -480,6 +480,7 @@ neutron_local_ip: 127.0.0.1 neutron_uca_enable: True # Ubuntu Cloud Archive mirror URL uca_apt_repo_url: "http://ubuntu-cloud.archive.canonical.com/ubuntu" +uca_apt_source_list_filename: "ubuntu_cloud_archive_canonical_com_ubuntu" # When running in an AIO, we need to implement an iptables rule in any # neutron_agent containers to that ensure instances can communicate with diff --git a/releasenotes/notes/apt-source-filenamed-2cc698add82f5eea.yaml b/releasenotes/notes/apt-source-filenamed-2cc698add82f5eea.yaml new file mode 100644 index 00000000..ea744d9c --- /dev/null +++ b/releasenotes/notes/apt-source-filenamed-2cc698add82f5eea.yaml @@ -0,0 +1,5 @@ +--- +features: + - The filename of the apt source for the ubuntu + cloud archive can now be defined with the + variable ``uca_apt_source_list_filename``. \ No newline at end of file diff --git a/tasks/neutron_install.yml b/tasks/neutron_install.yml index 832bccd3..f5991213 100644 --- a/tasks/neutron_install.yml +++ b/tasks/neutron_install.yml @@ -36,6 +36,7 @@ repo: "{{ uca_repo }}" state: present update_cache: yes + filename: "{{ uca_apt_source_list_filename }}" register: neutron_uca_add_repo when: - neutron_uca_enable