feat: convert playbooks to task + clear playbook
This commit is contained in:
11
tasks/setup-and-start-app.yml
Normal file
11
tasks/setup-and-start-app.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: Copy app to server
|
||||
ansible.builtin.copy:
|
||||
src: inception/
|
||||
dest: "{{ dest_dir }}"
|
||||
preserve: true
|
||||
force: true
|
||||
when: not ansible_check_mode
|
||||
|
||||
- name: Run the app
|
||||
ansible.builtin.command: "make -C {{ dest_dir }}"
|
||||
when: not ansible_check_mode
|
||||
Reference in New Issue
Block a user