Skip to content

Commit

Permalink
Use FQCN for builtin actions (#3503)
Browse files Browse the repository at this point in the history
Fixes: #3481

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
  • Loading branch information
ziegenberg authored Apr 12, 2022
1 parent e78c820 commit 1cf746c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
hosts: all
tasks:
- name: "Include {{ cookiecutter.role_name }}"
include_role:
ansible.builtin.include_role:
name: "{{ cookiecutter.role_name }}"
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- when: server.changed | default(false) | bool
block:
- name: Populate instance config dict
set_fact:
ansible.builtin.set_fact:
instance_conf_dict: {
'instance': "{{ }}",
'address': "{{ }}",
Expand All @@ -23,11 +23,11 @@
register: instance_config_dict

- name: Convert instance config dict to a list
set_fact:
ansible.builtin.set_fact:
instance_conf: "{{ instance_config_dict.results | map(attribute='ansible_facts.instance_conf_dict') | list }}"

- name: Dump instance config
copy:
ansible.builtin.copy:
content: |
# Molecule managed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
# Mandatory configuration for Molecule to function.

- name: Populate instance config
set_fact:
ansible.builtin.set_fact:
instance_conf: {}

- name: Dump instance config
copy:
ansible.builtin.copy:
content: |
# Molecule managed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
gather_facts: false
tasks:
- name: Example assertion
assert:
ansible.builtin.assert:
that: true
{% endraw -%}

0 comments on commit 1cf746c

Please sign in to comment.