Commit c07e003c by ansible

no message

1 parent 4f7f4830
Showing with 18 additions and 7 deletions
...@@ -32,9 +32,20 @@ ...@@ -32,9 +32,20 @@
- hosts: 05_install-webgate-dma-3.1.0 - hosts: 05_install-webgate-dma-3.1.0
become: true become: true
tasks: tasks:
- name: Move NginX to Working Folder - name: Unarchive a file that is already on the remote machine
command: cp /tmp/source/webgate.3.1.0.zip /opt/stack/webgate.3.1.0.zip unarchive:
- name: Extract NginX src: /tmp/source/webgate.3.1.0.zip
command: tar -zxvf /opt/stack/webgate.3.1.0.zip -C /opt/stack/ dest: /opt/stack
- name: Delete File remote_src: yes
command: rm /opt/stack/webgate.3.1.0.zip group: nginx
\ No newline at end of file owner: nginx
mode: 0755
- file:
path: '/opt/{{ item.dir }}'
group: nginx
owner: nginx
mode: 0755
state: directory
recurse: yes
with_items:
- { dir: 'nginx' }
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!