Migrate stat to FQCN.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
and pentesting
|
||||
|
||||
- name: General | Software | Metasploit | Check Install Status
|
||||
stat:
|
||||
ansible.builtin.stat:
|
||||
path: /usr/bin/msfconsole
|
||||
register: metasploit_status
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
block:
|
||||
|
||||
- name: General | Software | Swap | Check For Swapfile
|
||||
stat:
|
||||
ansible.builtin.stat:
|
||||
path: "{{ swap_file }}"
|
||||
get_attributes: false
|
||||
get_checksum: false
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
lock_file: "/tmp/ansible-playbook.lock"
|
||||
|
||||
- name: General | Tests | Existing Run | Check
|
||||
stat:
|
||||
ansible.builtin.stat:
|
||||
path: "{{ lock_file }}"
|
||||
register: lock_exists
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
mode: '0777'
|
||||
|
||||
- name: General | Tests | Existing Run | Lock | Create | Check
|
||||
stat:
|
||||
ansible.builtin.stat:
|
||||
path: "{{ lock_file }}"
|
||||
register: lock_exists
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
state: absent
|
||||
|
||||
- name: General | Tests | Existing Run | Lock | Remove | Check
|
||||
stat:
|
||||
ansible.builtin.stat:
|
||||
path: "{{ lock_file }}"
|
||||
register: lock_exists
|
||||
|
||||
|
||||
Reference in New Issue
Block a user