Last active
November 23, 2022 14:17
-
-
Save shantanoo-desai/b2cad347bcc05519831eb9e9bb4e7ac6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: 127.0.0.1 | |
connection: local | |
roles: | |
- appstack |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stage_golden_image.qemu.base_image: <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/admin/.ansible/tmp/ansible-tmp-1669211515.7675915-4466-135427133909167/ > /dev/null 2>&1 && sleep 0' | |
stage_golden_image.qemu.base_image: changed: [127.0.0.1] => { | |
stage_golden_image.qemu.base_image: "changed": true, | |
stage_golden_image.qemu.base_image: "checksum": "d43bf974b42e8a718ff4819a9cfd2fb17678d4bb", | |
stage_golden_image.qemu.base_image: "dest": "/home/admin/pacedge/app/libipld.so.0.5.2/libipld.so.0.5.2", | |
stage_golden_image.qemu.base_image: "diff": [], | |
stage_golden_image.qemu.base_image: "gid": 0, | |
stage_golden_image.qemu.base_image: "group": "root", | |
stage_golden_image.qemu.base_image: "invocation": { | |
stage_golden_image.qemu.base_image: "module_args": { | |
stage_golden_image.qemu.base_image: "_original_basename": "libipld.so.0.5.2", | |
stage_golden_image.qemu.base_image: "attributes": null, | |
stage_golden_image.qemu.base_image: "backup": false, | |
stage_golden_image.qemu.base_image: "checksum": "d43bf974b42e8a718ff4819a9cfd2fb17678d4bb", | |
stage_golden_image.qemu.base_image: "content": null, | |
stage_golden_image.qemu.base_image: "dest": "/home/admin/pacedge/app/", | |
stage_golden_image.qemu.base_image: "directory_mode": null, | |
stage_golden_image.qemu.base_image: "follow": false, | |
stage_golden_image.qemu.base_image: "force": true, | |
stage_golden_image.qemu.base_image: "group": null, | |
stage_golden_image.qemu.base_image: "local_follow": null, | |
stage_golden_image.qemu.base_image: "mode": null, | |
stage_golden_image.qemu.base_image: "owner": null, | |
stage_golden_image.qemu.base_image: "remote_src": null, | |
stage_golden_image.qemu.base_image: "selevel": null, | |
stage_golden_image.qemu.base_image: "serole": null, | |
stage_golden_image.qemu.base_image: "setype": null, | |
stage_golden_image.qemu.base_image: "seuser": null, | |
stage_golden_image.qemu.base_image: "src": "/home/admin/.ansible/tmp/ansible-tmp-1669211515.7675915-4466-135427133909167/source", | |
stage_golden_image.qemu.base_image: "unsafe_writes": false, | |
stage_golden_image.qemu.base_image: "validate": null | |
stage_golden_image.qemu.base_image: } | |
stage_golden_image.qemu.base_image: }, | |
stage_golden_image.qemu.base_image: "md5sum": "d666f075b9badc7652c0d834575e716c", | |
stage_golden_image.qemu.base_image: "mode": "0644", | |
stage_golden_image.qemu.base_image: "owner": "root", | |
stage_golden_image.qemu.base_image: "size": 19648, | |
stage_golden_image.qemu.base_image: "src": "/home/admin/.ansible/tmp/ansible-tmp-1669211515.7675915-4466-135427133909167/source", | |
stage_golden_image.qemu.base_image: "state": "file", | |
stage_golden_image.qemu.base_image: "uid": 0 | |
stage_golden_image.qemu.base_image: } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pacedge/ | |
├── appstack # here is the role to be called | |
├── common-docs | |
└── common-software # here is the file to be copied | |
|--- bootstap.yml | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tasks/main.yml | |
--- | |
- name: create app directory and copy some previous files | |
copy: | |
src: "{{ item }}" | |
dest: "{{ core_directory }}" | |
loop: "{{ core_services }}" | |
- name: app add Licensing related files to app Directory | |
copy: | |
src: "{{ playbook_dir }}/common-software/license/libipld.so.0.5.2" | |
dest: "{{ core_directory }}/app/" | |
when: ansible_facts['architecture'] == "x86_64" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
core_directory: /home/admin/pacedge | |
core_services: | |
- app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment