Use config_template as a collection
Since we still use ceph-ansible that has their own implementation of config_template module it's worth to use mentioned module as a collection explicitly. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/819814 Change-Id: I7024d962ed858b0442583e24612a5da4d3fa37e7
This commit is contained in:
parent
e5de914807
commit
4ca473b944
@ -149,7 +149,7 @@
|
|||||||
- systemd-networkd
|
- systemd-networkd
|
||||||
|
|
||||||
- name: Create systemd-networkd network link(s)
|
- name: Create systemd-networkd network link(s)
|
||||||
config_template:
|
openstack.config_template.config_template:
|
||||||
src: "systemd-link.j2"
|
src: "systemd-link.j2"
|
||||||
dest: "/etc/systemd/network/{{ (item.1.filename | default(systemd_networkd_filename_alt)) ~ '.link' }}"
|
dest: "/etc/systemd/network/{{ (item.1.filename | default(systemd_networkd_filename_alt)) ~ '.link' }}"
|
||||||
owner: "root"
|
owner: "root"
|
||||||
@ -165,7 +165,7 @@
|
|||||||
- systemd-networkd
|
- systemd-networkd
|
||||||
|
|
||||||
- name: Create systemd-networkd network network(s)
|
- name: Create systemd-networkd network network(s)
|
||||||
config_template:
|
openstack.config_template.config_template:
|
||||||
src: "systemd-network.j2"
|
src: "systemd-network.j2"
|
||||||
dest: "/etc/systemd/network/{{ (item.1.filename | default(systemd_networkd_filename_alt)) ~ '.network' }}"
|
dest: "/etc/systemd/network/{{ (item.1.filename | default(systemd_networkd_filename_alt)) ~ '.network' }}"
|
||||||
owner: "root"
|
owner: "root"
|
||||||
|
Loading…
Reference in New Issue
Block a user