check_point / check_point.gaia / 5.0.1 / module / cp_gaia_put_file Add a new file to a Check Point machine. | "added in version" 1.0.0 of check_point.gaia" Authors: Yuval Feiger (@chkp-yuvalfe)check_point.gaia.cp_gaia_put_file (5.0.1) — module
Install with ansible-galaxy collection install check_point.gaia:==5.0.1
collections: - name: check_point.gaia version: 5.0.1
Add a new file to a Check Point machine.
- name: Add a file check_point.gaia.cp_gaia_put_file: file_name: "ansible_file.txt" text_content: "It's an ansible file." override: true
version: description: Gaia API version for example 1.6. required: false type: str override: default: false description: If the file already exists, indicates whether to overwrite it. Recommended value is true. Note When the value is false, if the file already exists in the system from an previous execution, it will fail. required: false type: bool file_name: description: Filename include the desired path. The file will be created in the user home directory if the full path wasn't provided. required: true type: str text_content: description: Content to add to the new file. required: true type: str
put_file: description: The checkpoint object updated. returned: always. type: dict