Add Ansible server preparation

This commit is contained in:
2026-08-15 18:13:13 +03:00
parent 24b03970b0
commit 22000e1c61
+23
View File
@@ -0,0 +1,23 @@
- name: Prepare Platfom test server
hosts: test
become: true
gather_facts: true
tasks:
- name: Create Platfom directory
ansible.builtin.file:
path: /opt/platform
state: directory
owner: deploy
group: deploy
mode: '0755'
- name: Create deployment marker
ansible.builtin.copy:
content: |
Platfom deployment server
Managed by Ansible
dest: /opt/platform/deployment.txt
owner: deploy
group: deploy
mode: '0644'