mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-29 19:04:42 +00:00
tests/external-signed-ca-*: Use FQCN for ansible.builtin
Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is ansible.builtin.set_fact instead of set_fact for example and aplies for all actions that are part of ansible.builtin. All the replaced ansible.builtins: assert, command, copy, debug, fail, fetch, file, import_playbook, import_tasks, include_role, include_tasks, include_vars, package, set_fact, shell, slurp, stat, systemd
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Run external-ca.sh
|
- name: Run external-ca.sh
|
||||||
command: >
|
ansible.builtin.command: >
|
||||||
/bin/bash
|
/bin/bash
|
||||||
external-ca.sh
|
external-ca.sh
|
||||||
"{{ groups.ipaserver[0] }}"
|
"{{ groups.ipaserver[0] }}"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- name: Copy CSR /root/ipa.csr from node to "{{ groups.ipaserver[0] + '-ipa.csr' }}"
|
- name: Copy CSR /root/ipa.csr from node to "{{ groups.ipaserver[0] + '-ipa.csr' }}"
|
||||||
fetch:
|
ansible.builtin.fetch:
|
||||||
src: /root/ipa.csr
|
src: /root/ipa.csr
|
||||||
dest: "{{ groups.ipaserver[0] + '-ipa.csr' }}"
|
dest: "{{ groups.ipaserver[0] + '-ipa.csr' }}"
|
||||||
flat: yes
|
flat: yes
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Run external-ca.sh
|
- name: Run external-ca.sh
|
||||||
command: >
|
ansible.builtin.command: >
|
||||||
/bin/bash
|
/bin/bash
|
||||||
external-ca.sh
|
external-ca.sh
|
||||||
"{{ groups.ipaserver[0] }}"
|
"{{ groups.ipaserver[0] }}"
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Copy "{{ groups.ipaserver[0] + '-chain.crt' }}" to /root/chain.crt on node
|
- name: Copy "{{ groups.ipaserver[0] + '-chain.crt' }}" to /root/chain.crt on node
|
||||||
copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ groups.ipaserver[0] + '-chain.crt' }}"
|
src: "{{ groups.ipaserver[0] + '-chain.crt' }}"
|
||||||
dest: "/root/chain.crt"
|
dest: "/root/chain.crt"
|
||||||
force: yes
|
force: yes
|
||||||
|
|||||||
Reference in New Issue
Block a user