Auto-fix usage of modules via FQCN
Since ansible-core 2.10 it is recommended to use modules via FQCN In order to align with recommendation, we perform migration by applying suggestions made by `ansible-lint --fix=fqcn` Change-Id: I0cdfc57781cd369e6f6ca2a69f16c6e3d23980a1
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -45,6 +45,7 @@ logs/*
|
||||
# OS generated files #
|
||||
######################
|
||||
._*
|
||||
.ansible
|
||||
.tox
|
||||
*.egg-info
|
||||
.eggs
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
- name: Create OpenStack openrc and clouds.yaml file
|
||||
hosts: all
|
||||
user: root
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
- name: Create openrc file
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
owner: "{{ openrc_file_owner }}"
|
||||
@@ -33,7 +33,7 @@
|
||||
when: item.condition | default(True)
|
||||
|
||||
- name: Create OpenStack client configuration directory
|
||||
file:
|
||||
ansible.builtin.file:
|
||||
dest: "{{ openrc_openstack_client_config_dir_dest }}"
|
||||
owner: "{{ openrc_openstack_client_config_dir_owner }}"
|
||||
group: "{{ openrc_openstack_client_config_dir_group }}"
|
||||
@@ -43,7 +43,7 @@
|
||||
- openstack_openrc-install
|
||||
|
||||
- name: Create clouds.yaml file
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: clouds.yaml.j2
|
||||
dest: "{{ openrc_clouds_yml_file_dest }}"
|
||||
owner: "{{ openrc_clouds_yml_file_owner }}"
|
||||
|
||||
Reference in New Issue
Block a user